home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Software Dispatch
/
Apple Software Dispatch.iso
/
Software Dispatch Files
/
After Dark
/
Guided Tour
/
Guided Tour.rsrc
/
CODE_98_XMain.txt
< prev
next >
Wrap
Text File
|
1993-07-30
|
266KB
|
4,842 lines
# near model CODE resource
# jump table entries: 0-12 (13 of them)
fn00000000:
00000000 4E56 0000 link A6, 0
00000004 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00000008 266E 000C movea.l A3, [A6 + 0xC]
0000000C 286E 0008 movea.l A4, [A6 + 0x8]
00000010 382C 0004 move.w D4, [A4 + 0x4]
00000014 9854 sub.w D4, [A4]
00000016 3A2B 0004 move.w D5, [A3 + 0x4]
0000001A 9A53 sub.w D5, [A3]
0000001C 3E2B 0002 move.w D7, [A3 + 0x2]
00000020 9E6C 0002 sub.w D7, [A4 + 0x2]
00000024 302B 0006 move.w D0, [A3 + 0x6]
00000028 48C0 ext.l D0
0000002A 322C 0006 move.w D1, [A4 + 0x6]
0000002E 48C1 ext.l D1
00000030 9081 sub.l D0, D1
00000032 3C00 move.w D6, D0
00000034 9C47 sub.w D6, D7
00000036 2F0C move.l -[A7], A4
00000038 3006 move.w D0, D6
0000003A E240 asr D0.w, 1
0000003C D047 add.w D0, D7
0000003E 3F00 move.w -[A7], D0
00000040 48C5 ext.l D5
00000042 48C4 ext.l D4
00000044 2005 move.l D0, D5
00000046 9084 sub.l D0, D4
00000048 7203 moveq.l D1, 0x03
0000004A 4EBA 2708 jsr [PC + 0x2708 /* 00002754 */]
0000004E 9054 sub.w D0, [A4]
00000050 3F00 move.w -[A7], D0
00000052 A8A8 syscall OffsetRect
00000054 4CEE 18F0 FFE8 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x18]
0000005A 4E5E unlink A6
0000005C 4E75 rts
fn0000005E:
0000005E 4E56 FFF8 link A6, -0x0008
00000062 2F0C move.l -[A7], A4
00000064 598F subq.l A7, 4
00000066 2F3C 444C 4F47 move.l -[A7], 0x444C4F47 /* 'DLOG' */
0000006C 3F2E 000A move.w -[A7], [A6 + 0xA]
00000070 A9A0 syscall GetResource
00000072 285F movea.l A4, [A7]+
00000074 2054 movea.l A0, [A4]
00000076 43EE FFF8 lea.l A1, [A6 - 0x8]
0000007A 22D8 move.l [A1]+, [A0]+
0000007C 22D8 move.l [A1]+, [A0]+
0000007E 486D FE0A pea.l [A5 - 0x1F6]
00000082 486E FFF8 pea.l [A6 - 0x8]
00000086 4EBA FF78 jsr [PC - 0x88 /* 00000000 */]
0000008A 206E 000C movea.l A0, [A6 + 0xC]
0000008E 20AE FFF8 move.l [A0], [A6 - 0x8]
00000092 286E FFF4 movea.l A4, [A6 - 0xC]
00000096 4E5E unlink A6
00000098 4E75 rts
fn0000009A:
0000009A 4E56 0000 link A6, 0
0000009E 48E7 0108 movem.l -[A7], D7,A4
000000A2 3E2E 000A move.w D7, [A6 + 0xA]
000000A6 598F subq.l A7, 4
000000A8 2F3C 444C 4F47 move.l -[A7], 0x444C4F47 /* 'DLOG' */
000000AE 3F07 move.w -[A7], D7
000000B0 A9A0 syscall GetResource
000000B2 285F movea.l A4, [A7]+
000000B4 486D FE0A pea.l [A5 - 0x1F6]
000000B8 2054 movea.l A0, [A4]
000000BA 2F08 move.l -[A7], A0
000000BC 4EBA FF42 jsr [PC - 0xBE /* 00000000 */]
000000C0 598F subq.l A7, 4
000000C2 3F07 move.w -[A7], D7
000000C4 7000 moveq.l D0, 0x00
000000C6 2F00 move.l -[A7], D0
000000C8 72FF moveq.l D1, 0xFFFFFFFF
000000CA 2F01 move.l -[A7], D1
000000CC A97C syscall GetNewDialog
000000CE 201F move.l D0, [A7]+
000000D0 4CEE 1080 FFF8 movem.l D7,A4, [A6 - 0x8]
000000D6 4E5E unlink A6
000000D8 4E75 rts
export_1:
fn000000DA:
000000DA 4E56 0000 link A6, 0
000000DE 48E7 0108 movem.l -[A7], D7,A4
000000E2 3E2E 000A move.w D7, [A6 + 0xA]
000000E6 598F subq.l A7, 4
000000E8 2F3C 414C 5254 move.l -[A7], 0x414C5254 /* 'ALRT' */
000000EE 3F07 move.w -[A7], D7
000000F0 A9A0 syscall GetResource
000000F2 285F movea.l A4, [A7]+
000000F4 486D FE0A pea.l [A5 - 0x1F6]
000000F8 2054 movea.l A0, [A4]
000000FA 2F08 move.l -[A7], A0
000000FC 4EBA FF02 jsr [PC - 0xFE /* 00000000 */]
00000100 4A2E 000F tst.b [A6 + 0xF]
00000104 504F addq.w A7, 8
00000106 670E beq +0x10 /* 00000116 */
00000108 558F subq.l A7, 2
0000010A 3F07 move.w -[A7], D7
0000010C 7000 moveq.l D0, 0x00
0000010E 2F00 move.l -[A7], D0
00000110 A986 syscall StopAlert
00000112 301F move.w D0, [A7]+
00000114 600C bra +0xE /* 00000122 */
label00000116:
00000116 558F subq.l A7, 2
00000118 3F07 move.w -[A7], D7
0000011A 7000 moveq.l D0, 0x00
0000011C 2F00 move.l -[A7], D0
0000011E A985 syscall Alert
00000120 301F move.w D0, [A7]+
label00000122:
00000122 4CEE 1080 FFF8 movem.l D7,A4, [A6 - 0x8]
00000128 4E5E unlink A6
0000012A 4E75 rts
fn0000012C:
0000012C 4E56 0000 link A6, 0
00000130 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00000134 266E 0008 movea.l A3, [A6 + 0x8]
00000138 558F subq.l A7, 2
0000013A A994 syscall CurResFile
0000013C 3E1F move.w D7, [A7]+
0000013E 3F2D FD98 move.w -[A7], [A5 - 0x268]
00000142 A998 syscall UseResFile
00000144 4213 clr.b [A3]
00000146 598F subq.l A7, 4
00000148 2F3C 7665 7273 move.l -[A7], 0x76657273 /* 'vers' */
0000014E 7001 moveq.l D0, 0x01
00000150 3F00 move.w -[A7], D0
00000152 A81F syscall Get1Resource
00000154 285F movea.l A4, [A7]+
00000156 200C move.l D0, A4
00000158 6716 beq +0x18 /* 00000170 */
0000015A 2054 movea.l A0, [A4]
0000015C 7C00 moveq.l D6, 0x00
0000015E 1C28 0006 move.b D6, [A0 + 0x6]
00000162 4A86 tst.l D6
00000164 5C88 addq.l A0, 6
00000166 224B movea.l A1, A3
00000168 48C6 ext.l D6
0000016A 2006 move.l D0, D6
0000016C 5280 addq.l D0, 1
0000016E A02E syscall BlockMove/BlockMoveData
label00000170:
00000170 3F07 move.w -[A7], D7
00000172 A998 syscall UseResFile
00000174 4CEE 18C0 FFF0 movem.l D6,D7,A3,A4, [A6 - 0x10]
0000017A 4E5E unlink A6
0000017C 4E75 rts
fn0000017E:
0000017E 4E56 FEFE link A6, -0x0102
00000182 48E7 0118 movem.l -[A7], D7,A3,A4
00000186 49EE FF00 lea.l A4, [A6 - 0x100]
0000018A 3E3C 7861 move.w D7, 0x7861 /* 'xa' */
0000018E 2F0C move.l -[A7], A4
00000190 4EBA FF9A jsr [PC - 0x66 /* 0000012C */]
00000194 2F0C move.l -[A7], A4
00000196 486D FC5A pea.l [A5 - 0x3A6]
0000019A 486D FC5C pea.l [A5 - 0x3A4]
0000019E 486D FC5E pea.l [A5 - 0x3A2]
000001A2 A98B syscall ParamText
000001A4 4A2D FC78 tst.b [A5 - 0x388]
000001A8 584F addq.w A7, 4
000001AA 6712 beq +0x14 /* 000001BE */
000001AC 598F subq.l A7, 4
000001AE AA2A syscall GetMainDevice
000001B0 4EBA 0068 jsr [PC + 0x68 /* 0000021A */]
000001B4 4A00 tst.b D0
000001B6 584F addq.w A7, 4
000001B8 6704 beq +0x6 /* 000001BE */
000001BA 3E3C 7862 move.w D7, 0x7862 /* 'xb' */
label000001BE:
000001BE 48C7 ext.l D7
000001C0 2F07 move.l -[A7], D7
000001C2 4EBA FED6 jsr [PC - 0x12A /* 0000009A */]
000001C6 2640 movea.l A3, D0
000001C8 7000 moveq.l D0, 0x00
000001CA 2F00 move.l -[A7], D0
000001CC 486E FEFE pea.l [A6 - 0x102]
000001D0 A991 syscall ModalDialog
000001D2 302E FEFE move.w D0, [A6 - 0x102]
000001D6 5340 subq.w D0, 1
000001D8 584F addq.w A7, 4
000001DA 6B2E bmi +0x30 /* 0000020A */
000001DC 0C40 0005 cmpi.w D0, 0x5
000001E0 6E28 bgt +0x2A /* 0000020A */
000001E2 D040 add.w D0, D0
000001E4 303B 0006 move.w D0, [PC + D0.w + 0x6]
000001E8 4EFB 0000 jmp [PC + D0.w]
000001EC 000E 0012 ori.b A6, 0x12
000001F0 0016 001A ori.b [A6], 0x1A
000001F4 0020 001E ori.b -[A0], 0x1E
000001F8 7E02 moveq.l D7, 0x02
000001FA 600E bra +0x10 /* 0000020A */
000001FC 7E07 moveq.l D7, 0x07
000001FE 600A bra +0xC /* 0000020A */
00000200 7E03 moveq.l D7, 0x03
00000202 6006 bra +0x8 /* 0000020A */
00000204 7E05 moveq.l D7, 0x05
00000206 6002 bra +0x4 /* 0000020A */
00000208 7E06 moveq.l D7, 0x06
label0000020A:
0000020A 2F0B move.l -[A7], A3
0000020C A983 syscall DisposeDialog
0000020E 2007 move.l D0, D7
00000210 4CEE 1880 FEF2 movem.l D7,A3,A4, [A6 - 0x10E]
00000216 4E5E unlink A6
00000218 4E75 rts
fn0000021A:
0000021A 4E56 0000 link A6, 0
0000021E 48E7 0018 movem.l -[A7], A3,A4
00000222 286E 0008 movea.l A4, [A6 + 0x8]
00000226 200C move.l D0, A4
00000228 6714 beq +0x16 /* 0000023E */
0000022A 2054 movea.l A0, [A4]
0000022C 2668 0016 movea.l A3, [A0 + 0x16]
00000230 2053 movea.l A0, [A3]
00000232 7002 moveq.l D0, 0x02
00000234 B068 0020 cmp.w D0, [A0 + 0x20]
00000238 6C04 bge +0x6 /* 0000023E */
0000023A 7001 moveq.l D0, 0x01
0000023C 6002 bra +0x4 /* 00000240 */
label0000023E:
0000023E 7000 moveq.l D0, 0x00
label00000240:
00000240 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00000246 4E5E unlink A6
00000248 4E75 rts
fn0000024A:
0000024A 4E56 0000 link A6, 0
0000024E 48E7 0108 movem.l -[A7], D7,A4
00000252 558F subq.l A7, 2
00000254 A994 syscall CurResFile
00000256 3E1F move.w D7, [A7]+
00000258 3F2D FD98 move.w -[A7], [A5 - 0x268]
0000025C A998 syscall UseResFile
0000025E 598F subq.l A7, 4
00000260 2F3C 5657 7374 move.l -[A7], 0x56577374 /* 'VWst' */
00000266 7000 moveq.l D0, 0x00
00000268 3F00 move.w -[A7], D0
0000026A A9A0 syscall GetResource
0000026C 285F movea.l A4, [A7]+
0000026E 200C move.l D0, A4
00000270 6618 bne +0x1A /* 0000028A */
00000272 700C moveq.l D0, 0x0C
00000274 A122 syscall NewHandle, flags=1
00000276 2848 movea.l A4, A0
00000278 2F0C move.l -[A7], A4
0000027A 2F3C 5657 7374 move.l -[A7], 0x56577374 /* 'VWst' */
00000280 7000 moveq.l D0, 0x00
00000282 3F00 move.w -[A7], D0
00000284 486D FC60 pea.l [A5 - 0x3A0]
00000288 A9AB syscall AddResource
label0000028A:
0000028A 206D FD84 movea.l A0, [A5 - 0x27C]
0000028E 2050 movea.l A0, [A0]
00000290 2254 movea.l A1, [A4]
00000292 700C moveq.l D0, 0x0C
00000294 A02E syscall BlockMove/BlockMoveData
00000296 2F0C move.l -[A7], A4
00000298 A9AA syscall ChangedResource
0000029A 2F0C move.l -[A7], A4
0000029C A9B0 syscall WriteResource
0000029E 2F0C move.l -[A7], A4
000002A0 A9A3 syscall ReleaseResource
000002A2 3F07 move.w -[A7], D7
000002A4 A998 syscall UseResFile
000002A6 4CEE 1080 FFF8 movem.l D7,A4, [A6 - 0x8]
000002AC 4E5E unlink A6
000002AE 4E75 rts
fn000002B0:
000002B0 4E56 FFCC link A6, -0x0034
000002B4 48E7 1F18 movem.l -[A7], D3,D4,D5,D6,D7,A3,A4
000002B8 47EE FFE0 lea.l A3, [A6 - 0x20]
000002BC 49EE FFD2 lea.l A4, [A6 - 0x2E]
000002C0 7801 moveq.l D4, 0x01
000002C2 4205 clr.b D5
000002C4 4206 clr.b D6
000002C6 4878 2135 push.l 0x2135 /* '!5' */
000002CA 4EBA FDCE jsr [PC - 0x232 /* 0000009A */]
000002CE 2D40 FFCE move.l [A6 - 0x32], D0
000002D2 206D FD84 movea.l A0, [A5 - 0x27C]
000002D6 2050 movea.l A0, [A0]
000002D8 2D48 FFFC move.l [A6 - 0x4], A0
000002DC 1950 0007 move.b [A4 + 0x7], [A0]
000002E0 206E FFFC movea.l A0, [A6 - 0x4]
000002E4 1968 0003 0004 move.b [A4 + 0x4], [A0 + 0x3]
000002EA 206E FFFC movea.l A0, [A6 - 0x4]
000002EE 1968 0005 0005 move.b [A4 + 0x5], [A0 + 0x5]
000002F4 206E FFFC movea.l A0, [A6 - 0x4]
000002F8 1968 0002 0006 move.b [A4 + 0x6], [A0 + 0x2]
000002FE 422C 000B clr.b [A4 + 0xB]
00000302 426C 000C clr.w [A4 + 0xC]
00000306 206E FFFC movea.l A0, [A6 - 0x4]
0000030A 1028 0004 move.b D0, [A0 + 0x4]
0000030E 584F addq.w A7, 4
00000310 6708 beq +0xA /* 0000031A */
00000312 197C 0001 000C move.b [A4 + 0xC], 0x1
00000318 6006 bra +0x8 /* 00000320 */
label0000031A:
0000031A 197C 0001 000B move.b [A4 + 0xB], 0x1
label00000320:
00000320 422C 000A clr.b [A4 + 0xA]
00000324 426C 0008 clr.w [A4 + 0x8]
00000328 206E FFFC movea.l A0, [A6 - 0x4]
0000032C 7001 moveq.l D0, 0x01
0000032E B028 000A cmp.b D0, [A0 + 0xA]
00000332 6E08 bgt +0xA /* 0000033C */
00000334 7003 moveq.l D0, 0x03
00000336 B028 000A cmp.b D0, [A0 + 0xA]
0000033A 6C0A bge +0xC /* 00000346 */
label0000033C:
0000033C 206E FFFC movea.l A0, [A6 - 0x4]
00000340 117C 0001 000A move.b [A0 + 0xA], 0x1
label00000346:
00000346 206E FFFC movea.l A0, [A6 - 0x4]
0000034A 1028 000A move.b D0, [A0 + 0xA]
0000034E 4880 ext.w D0
00000350 5E40 addq.w D0, 7
00000352 19BC 0001 0000 move.b [A4 + D0.w], 0x1
00000358 7E04 moveq.l D7, 0x04
0000035A 760C moveq.l D3, 0x0C
label0000035C:
0000035C 17B4 7000 7000 move.b [A3 + D7.w], [A4 + D7.w]
00000362 2007 move.l D0, D7
00000364 5287 addq.l D7, 1
00000366 B687 cmp.l D3, D7
00000368 6CF2 bge -0xC /* 0000035C */
0000036A 4AAE 0008 tst.l [A6 + 0x8]
0000036E 6600 0120 bne +0x122 /* 00000490 */
00000372 2F2E FFCE move.l -[A7], [A6 - 0x32]
00000376 700B moveq.l D0, 0x0B
00000378 3F00 move.w -[A7], D0
0000037A 486E FFEE pea.l [A6 - 0x12]
0000037E 486E FFF0 pea.l [A6 - 0x10]
00000382 486E FFF4 pea.l [A6 - 0xC]
00000386 A98D syscall GetDialogItem/GetDItem
00000388 2F2E FFF0 move.l -[A7], [A6 - 0x10]
0000038C 3F3C 00FF move.w -[A7], 0xFF
00000390 A95D syscall HiliteControl
00000392 2F2E FFCE move.l -[A7], [A6 - 0x32]
00000396 700C moveq.l D0, 0x0C
00000398 3F00 move.w -[A7], D0
0000039A 486E FFEE pea.l [A6 - 0x12]
0000039E 486E FFF0 pea.l [A6 - 0x10]
000003A2 486E FFF4 pea.l [A6 - 0xC]
000003A6 A98D syscall GetDialogItem/GetDItem
000003A8 2F2E FFF0 move.l -[A7], [A6 - 0x10]
000003AC 3F3C 00FF move.w -[A7], 0xFF
000003B0 A95D syscall HiliteControl
000003B2 6000 00DC bra +0xDE /* 00000490 */
label000003B6:
000003B6 7E04 moveq.l D7, 0x04
label000003B8:
000003B8 2F2E FFCE move.l -[A7], [A6 - 0x32]
000003BC 3F07 move.w -[A7], D7
000003BE 486E FFEE pea.l [A6 - 0x12]
000003C2 486E FFF0 pea.l [A6 - 0x10]
000003C6 486E FFF4 pea.l [A6 - 0xC]
000003CA A98D syscall GetDialogItem/GetDItem
000003CC 2F2E FFF0 move.l -[A7], [A6 - 0x10]
000003D0 7000 moveq.l D0, 0x00
000003D2 1034 7000 move.b D0, [A4 + D7.w]
000003D6 3F00 move.w -[A7], D0
000003D8 A963 syscall SetControlValue/SetCtlValue
000003DA 2007 move.l D0, D7
000003DC 5287 addq.l D7, 1
000003DE 700C moveq.l D0, 0x0C
000003E0 B087 cmp.l D0, D7
000003E2 6CD4 bge -0x2A /* 000003B8 */
000003E4 7000 moveq.l D0, 0x00
000003E6 2F00 move.l -[A7], D0
000003E8 486E FFCC pea.l [A6 - 0x34]
000003EC A991 syscall ModalDialog
000003EE 302E FFCC move.w D0, [A6 - 0x34]
000003F2 5340 subq.w D0, 1
000003F4 6B00 009A bmi +0x9C /* 00000490 */
000003F8 0C40 000D cmpi.w D0, 0xD /* '\r' */
000003FC 6E00 0092 bgt +0x94 /* 00000490 */
00000400 D040 add.w D0, D0
00000402 303B 0006 move.w D0, [PC + D0.w + 0x6]
00000406 4EFB 0000 jmp [PC + D0.w]
0000040A 001E 003A ori.b [A6]+, 0x3A /* ':' */
0000040E 0088 004C 004C ori.l A0, 0x4C004C /* 'L\0L' */
00000414 004C 004C ori.w A4, 0x4C /* 'L' */
00000418 0062 0062 ori.w -[A2], 0x62 /* 'b' */
0000041C 0062 0076 ori.w -[A2], 0x76 /* 'v' */
00000420 0076 0088 0040 ori.w [A6 + D0.w + 0x40], 0x88
00000426 7A01 moveq.l D5, 0x01
00000428 7E04 moveq.l D7, 0x04
0000042A 760C moveq.l D3, 0x0C
label0000042C:
0000042C 1033 7000 move.b D0, [A3 + D7.w]
00000430 B034 7000 cmp.b D0, [A4 + D7.w]
00000434 6702 beq +0x4 /* 00000438 */
00000436 7C01 moveq.l D6, 0x01
label00000438:
00000438 2007 move.l D0, D7
0000043A 5287 addq.l D7, 1
0000043C B687 cmp.l D3, D7
0000043E 6CEC bge -0x12 /* 0000042C */
00000440 604E bra +0x50 /* 00000490 */
00000442 7808 moveq.l D4, 0x08
00000444 7A01 moveq.l D5, 0x01
00000446 6048 bra +0x4A /* 00000490 */
00000448 4878 49D2 push.l 0x49D2
0000044C 4EBA 0246 jsr [PC + 0x246 /* 00000694 */]
00000450 584F addq.w A7, 4
00000452 603C bra +0x3E /* 00000490 */
00000454 302E FFCC move.w D0, [A6 - 0x34]
00000458 4A34 0000 tst.b [A4 + D0.w]
0000045C 57C3 seq D3
0000045E 4403 neg.b D3
00000460 302E FFCC move.w D0, [A6 - 0x34]
00000464 1983 0000 move.b [A4 + D0.w], D3
00000468 6026 bra +0x28 /* 00000490 */
0000046A 422C 000A clr.b [A4 + 0xA]
0000046E 426C 0008 clr.w [A4 + 0x8]
00000472 302E FFCC move.w D0, [A6 - 0x34]
00000476 19BC 0001 0000 move.b [A4 + D0.w], 0x1
0000047C 6012 bra +0x14 /* 00000490 */
0000047E 422C 000B clr.b [A4 + 0xB]
00000482 426C 000C clr.w [A4 + 0xC]
00000486 302E FFCC move.w D0, [A6 - 0x34]
0000048A 19BC 0001 0000 move.b [A4 + D0.w], 0x1
label00000490:
00000490 4A05 tst.b D5
00000492 6700 FF22 beq -0xDC /* 000003B6 */
00000496 2F2E FFCE move.l -[A7], [A6 - 0x32]
0000049A A983 syscall DisposeDialog
0000049C 4A06 tst.b D6
0000049E 6700 0096 beq +0x98 /* 00000536 */
000004A2 206D FD84 movea.l A0, [A5 - 0x27C]
000004A6 2050 movea.l A0, [A0]
000004A8 2D48 FFFC move.l [A6 - 0x4], A0
000004AC 10AC 0007 move.b [A0], [A4 + 0x7]
000004B0 206E FFFC movea.l A0, [A6 - 0x4]
000004B4 116C 0004 0003 move.b [A0 + 0x3], [A4 + 0x4]
000004BA 206E FFFC movea.l A0, [A6 - 0x4]
000004BE 116C 0005 0005 move.b [A0 + 0x5], [A4 + 0x5]
000004C4 206E FFFC movea.l A0, [A6 - 0x4]
000004C8 116C 0006 0002 move.b [A0 + 0x2], [A4 + 0x6]
000004CE 4AAE 0008 tst.l [A6 + 0x8]
000004D2 671A beq +0x1C /* 000004EE */
000004D4 4A2C 000C tst.b [A4 + 0xC]
000004D8 670C beq +0xE /* 000004E6 */
000004DA 206E FFFC movea.l A0, [A6 - 0x4]
000004DE 117C 0001 0004 move.b [A0 + 0x4], 0x1
000004E4 6008 bra +0xA /* 000004EE */
label000004E6:
000004E6 206E FFFC movea.l A0, [A6 - 0x4]
000004EA 4228 0004 clr.b [A0 + 0x4]
label000004EE:
000004EE 4A2C 0008 tst.b [A4 + 0x8]
000004F2 670C beq +0xE /* 00000500 */
000004F4 206E FFFC movea.l A0, [A6 - 0x4]
000004F8 117C 0001 000A move.b [A0 + 0xA], 0x1
000004FE 601C bra +0x1E /* 0000051C */
label00000500:
00000500 4A2C 0009 tst.b [A4 + 0x9]
00000504 670C beq +0xE /* 00000512 */
00000506 206E FFFC movea.l A0, [A6 - 0x4]
0000050A 117C 0002 000A move.b [A0 + 0xA], 0x2
00000510 600A bra +0xC /* 0000051C */
label00000512:
00000512 206E FFFC movea.l A0, [A6 - 0x4]
00000516 117C 0003 000A move.b [A0 + 0xA], 0x3
label0000051C:
0000051C 4A2D FD94 tst.b [A5 - 0x26C]
00000520 6610 bne +0x12 /* 00000532 */
00000522 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000526 700E moveq.l D0, 0x0E
00000528 3F00 move.w -[A7], D0
0000052A 1F2C 0005 move.b -[A7], [A4 + 0x5]
0000052E 4EBA 1D28 jsr [PC + 0x1D28 /* 00002258 */]
label00000532:
00000532 4EBA FD16 jsr [PC - 0x2EA /* 0000024A */]
label00000536:
00000536 2004 move.l D0, D4
00000538 4CEE 18F8 FFB0 movem.l D3,D4,D5,D6,D7,A3,A4, [A6 - 0x50]
0000053E 4E5E unlink A6
00000540 4E75 rts
fn00000542:
00000542 4E56 0000 link A6, 0
00000546 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
0000054A 266E 000C movea.l A3, [A6 + 0xC]
0000054E 286E 0008 movea.l A4, [A6 + 0x8]
00000552 7A00 moveq.l D5, 0x00
00000554 1A14 move.b D5, [A4]
00000556 4A85 tst.l D5
00000558 4246 clr.w D6
0000055A 4247 clr.w D7
0000055C 6012 bra +0x14 /* 00000570 */
label0000055E:
0000055E 7000 moveq.l D0, 0x00
00000560 101C move.b D0, [A4]+
00000562 3206 move.w D1, D6
00000564 5246 addq.w D6, 1
00000566 48C1 ext.l D1
00000568 9081 sub.l D0, D1
0000056A 16C0 move.b [A3]+, D0
0000056C 3007 move.w D0, D7
0000056E 5247 addq.w D7, 1
label00000570:
00000570 BA47 cmp.w D5, D7
00000572 6CEA bge -0x14 /* 0000055E */
00000574 4CEE 18E0 FFEC movem.l D5,D6,D7,A3,A4, [A6 - 0x14]
0000057A 4E5E unlink A6
0000057C 4E75 rts
export_2:
0000057E 4E56 FEEE link A6, -0x0112
00000582 48E7 0308 movem.l -[A7], D6,D7,A4
00000586 49EE FEF2 lea.l A4, [A6 - 0x10E]
0000058A 486E FEEE pea.l [A6 - 0x112]
0000058E A874 syscall GetPort
00000590 206E FEEE movea.l A0, [A6 - 0x112]
00000594 3C28 0044 move.w D6, [A0 + 0x44]
00000598 3E28 004A move.w D7, [A0 + 0x4A]
0000059C 7001 moveq.l D0, 0x01
0000059E 3F00 move.w -[A7], D0
000005A0 A887 syscall TextFont
000005A2 7009 moveq.l D0, 0x09
000005A4 3F00 move.w -[A7], D0
000005A6 A88A syscall TextSize
000005A8 2F0C move.l -[A7], A4
000005AA 4EBA FB80 jsr [PC - 0x480 /* 0000012C */]
000005AE 2F2E 000A move.l -[A7], [A6 + 0xA]
000005B2 3F2E 0008 move.w -[A7], [A6 + 0x8]
000005B6 486E FFF2 pea.l [A6 - 0xE]
000005BA 486E FFF4 pea.l [A6 - 0xC]
000005BE 486E FFF8 pea.l [A6 - 0x8]
000005C2 A98D syscall GetDialogItem/GetDItem
000005C4 3F2E FFFA move.w -[A7], [A6 - 0x6]
000005C8 3F2E FFFC move.w -[A7], [A6 - 0x4]
000005CC A893 syscall MoveTo
000005CE 2F0C move.l -[A7], A4
000005D0 A884 syscall DrawString
000005D2 3F06 move.w -[A7], D6
000005D4 A887 syscall TextFont
000005D6 3F07 move.w -[A7], D7
000005D8 A88A syscall TextSize
000005DA 4CEE 10C0 FEE2 movem.l D6,D7,A4, [A6 - 0x11E]
000005E0 4E5E unlink A6
000005E2 205F movea.l A0, [A7]+
000005E4 5C4F addq.w A7, 6
000005E6 4ED0 jmp [A0]
fn000005E8:
000005E8 4E56 FEEA link A6, -0x0116
000005EC 48E7 0018 movem.l -[A7], A3,A4
000005F0 47EE FEF2 lea.l A3, [A6 - 0x10E]
000005F4 307C 001E movea.w A0, 0x1E
000005F8 43EE FEEA lea.l A1, [A6 - 0x116]
000005FC A03B syscall Delay
000005FE 2280 move.l [A1], D0
00000600 4878 78DF push.l 0x78DF
00000604 4EBA FA94 jsr [PC - 0x56C /* 0000009A */]
00000608 2840 movea.l A4, D0
0000060A 598F subq.l A7, 4
0000060C 2F3C 4F56 5744 move.l -[A7], 0x4F565744 /* 'OVWD' */
00000612 3F3C 00C8 move.w -[A7], 0xC8
00000616 A9A0 syscall GetResource
00000618 2D5F FEEE move.l [A6 - 0x112], [A7]+
0000061C 2F0B move.l -[A7], A3
0000061E 206E FEEE movea.l A0, [A6 - 0x112]
00000622 2010 move.l D0, [A0]
00000624 7228 moveq.l D1, 0x28
00000626 D081 add.l D0, D1
00000628 2F00 move.l -[A7], D0
0000062A 4EBA FF16 jsr [PC - 0xEA /* 00000542 */]
0000062E 2F0C move.l -[A7], A4
00000630 7002 moveq.l D0, 0x02
00000632 3F00 move.w -[A7], D0
00000634 486E FFF2 pea.l [A6 - 0xE]
00000638 486E FFF4 pea.l [A6 - 0xC]
0000063C 486E FFF8 pea.l [A6 - 0x8]
00000640 A98D syscall GetDialogItem/GetDItem
00000642 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000646 2F0B move.l -[A7], A3
00000648 A98F syscall SetDialogItemText/SetIText
0000064A 2F0C move.l -[A7], A4
0000064C 7003 moveq.l D0, 0x03
0000064E 3F00 move.w -[A7], D0
00000650 486E FFF2 pea.l [A6 - 0xE]
00000654 486E FFF4 pea.l [A6 - 0xC]
00000658 486E FFF8 pea.l [A6 - 0x8]
0000065C A98D syscall GetDialogItem/GetDItem
0000065E 2F0C move.l -[A7], A4
00000660 7003 moveq.l D0, 0x03
00000662 3F00 move.w -[A7], D0
00000664 7200 moveq.l D1, 0x00
00000666 3F01 move.w -[A7], D1
00000668 486D 0032 pea.l [A5 + 0x32 /* export_2 */]
0000066C 486E FFF8 pea.l [A6 - 0x8]
00000670 A98E syscall SetDialogItem/SetDItem
00000672 2F0C move.l -[A7], A4
00000674 A915 syscall ShowWindow
00000676 2F0C move.l -[A7], A4
00000678 A981 syscall DrawDialog
0000067A 307C 00B4 movea.w A0, 0xB4
0000067E 43EE FEEA lea.l A1, [A6 - 0x116]
00000682 A03B syscall Delay
00000684 2280 move.l [A1], D0
00000686 2F0C move.l -[A7], A4
00000688 A983 syscall DisposeDialog
0000068A 4CEE 1800 FEE2 movem.l A3,A4, [A6 - 0x11E]
00000690 4E5E unlink A6
00000692 4E75 rts
fn00000694:
00000694 4E56 FFFE link A6, -0x0002
00000698 48E7 0308 movem.l -[A7], D6,D7,A4
0000069C 2E2E 0008 move.l D7, [A6 + 0x8]
000006A0 7C01 moveq.l D6, 0x01
label000006A2:
000006A2 2F07 move.l -[A7], D7
000006A4 4EBA F9F4 jsr [PC - 0x60C /* 0000009A */]
000006A8 2840 movea.l A4, D0
000006AA 7000 moveq.l D0, 0x00
000006AC 2F00 move.l -[A7], D0
000006AE 486E FFFE pea.l [A6 - 0x2]
000006B2 A991 syscall ModalDialog
000006B4 2F0C move.l -[A7], A4
000006B6 A983 syscall DisposeDialog
000006B8 7003 moveq.l D0, 0x03
000006BA B06E FFFE cmp.w D0, [A6 - 0x2]
000006BE 584F addq.w A7, 4
000006C0 6618 bne +0x1A /* 000006DA */
000006C2 0C87 0000 76C6 cmpi.l D7, 0x76C6
000006C8 6608 bne +0xA /* 000006D2 */
000006CA 2E3C 0000 49D2 move.l D7, 0x49D2
000006D0 60D0 bra -0x2E /* 000006A2 */
label000006D2:
000006D2 2E3C 0000 76C6 move.l D7, 0x76C6
000006D8 60C8 bra -0x36 /* 000006A2 */
label000006DA:
000006DA 2006 move.l D0, D6
000006DC 4CEE 10C0 FFF2 movem.l D6,D7,A4, [A6 - 0xE]
000006E2 4E5E unlink A6
000006E4 4E75 rts
fn000006E6:
000006E6 4E56 FF00 link A6, -0x0100
000006EA 48E7 0708 movem.l -[A7], D5,D6,D7,A4
000006EE 49EE FF00 lea.l A4, [A6 - 0x100]
000006F2 2E2E 000C move.l D7, [A6 + 0xC]
000006F6 7A01 moveq.l D5, 0x01
000006F8 4214 clr.b [A4]
000006FA 708C moveq.l D0, 0xFFFFFF8C
000006FC B087 cmp.l D0, D7
000006FE 6E10 bgt +0x12 /* 00000710 */
00000700 7094 moveq.l D0, 0xFFFFFF94
00000702 B087 cmp.l D0, D7
00000704 6D0A blt +0xC /* 00000710 */
00000706 2C3C 0000 3EC1 move.l D6, 0x3EC1
0000070C 6000 00B2 bra +0xB4 /* 000007C0 */
label00000710:
00000710 7012 moveq.l D0, 0x12
00000712 B087 cmp.l D0, D7
00000714 660A bne +0xC /* 00000720 */
00000716 2C3C 0000 6ABE move.l D6, 0x6ABE
0000071C 6000 00A2 bra +0xA4 /* 000007C0 */
label00000720:
00000720 700A moveq.l D0, 0x0A
00000722 B087 cmp.l D0, D7
00000724 660A bne +0xC /* 00000730 */
00000726 2C3C 0000 3EC2 move.l D6, 0x3EC2
0000072C 6000 0092 bra +0x94 /* 000007C0 */
label00000730:
00000730 70DD moveq.l D0, 0xFFFFFFDD
00000732 B087 cmp.l D0, D7
00000734 670C beq +0xE /* 00000742 */
00000736 70D5 moveq.l D0, 0xFFFFFFD5
00000738 B087 cmp.l D0, D7
0000073A 6706 beq +0x8 /* 00000742 */
0000073C 7088 moveq.l D0, 0xFFFFFF88
0000073E B087 cmp.l D0, D7
00000740 6608 bne +0xA /* 0000074A */
label00000742:
00000742 2C3C 0000 61FD move.l D6, 0x61FD
00000748 6076 bra +0x78 /* 000007C0 */
label0000074A:
0000074A 700B moveq.l D0, 0x0B
0000074C B087 cmp.l D0, D7
0000074E 6608 bne +0xA /* 00000758 */
00000750 2C3C 0000 6FD6 move.l D6, 0x6FD6
00000756 6068 bra +0x6A /* 000007C0 */
label00000758:
00000758 70DE moveq.l D0, 0xFFFFFFDE
0000075A B087 cmp.l D0, D7
0000075C 6628 bne +0x2A /* 00000786 */
0000075E 2F0C move.l -[A7], A4
00000760 3F3C 1165 move.w -[A7], 0x1165
00000764 7003 moveq.l D0, 0x03
00000766 3F00 move.w -[A7], D0
00000768 4EBA 2566 jsr [PC + 0x2566 /* 00002CD0 */]
0000076C 2C3C 0000 56F0 move.l D6, 0x56F0
00000772 2F0C move.l -[A7], A4
00000774 486D FC62 pea.l [A5 - 0x39E]
00000778 486D FC64 pea.l [A5 - 0x39C]
0000077C 486D FC66 pea.l [A5 - 0x39A]
00000780 A98B syscall ParamText
00000782 4205 clr.b D5
00000784 603A bra +0x3C /* 000007C0 */
label00000786:
00000786 0C87 0000 56F0 cmpi.l D7, 0x56F0
0000078C 6616 bne +0x18 /* 000007A4 */
0000078E 302D FC7A move.w D0, [A5 - 0x386]
00000792 48C0 ext.l D0
00000794 2F00 move.l -[A7], D0
00000796 2F0C move.l -[A7], A4
00000798 4EBA 278A jsr [PC + 0x278A /* 00002F24 */]
0000079C 2C3C 0000 56F0 move.l D6, 0x56F0
000007A2 601C bra +0x1E /* 000007C0 */
label000007A4:
000007A4 558F subq.l A7, 2
000007A6 2F2D FC70 move.l -[A7], [A5 - 0x390]
000007AA 4EBA 1A6C jsr [PC + 0x1A6C /* 00002218 */]
000007AE 301F move.w D0, [A7]+
000007B0 48C0 ext.l D0
000007B2 2F00 move.l -[A7], D0
000007B4 2F0C move.l -[A7], A4
000007B6 4EBA 276C jsr [PC + 0x276C /* 00002F24 */]
000007BA 2C3C 0000 56F0 move.l D6, 0x56F0
label000007C0:
000007C0 4A05 tst.b D5
000007C2 6710 beq +0x12 /* 000007D4 */
000007C4 2F2E 0008 move.l -[A7], [A6 + 0x8]
000007C8 2F0C move.l -[A7], A4
000007CA 486D FC68 pea.l [A5 - 0x398]
000007CE 486D FC6A pea.l [A5 - 0x396]
000007D2 A98B syscall ParamText
label000007D4:
000007D4 7000 moveq.l D0, 0x00
000007D6 2F00 move.l -[A7], D0
000007D8 2F06 move.l -[A7], D6
000007DA 4EBA F8FE jsr [PC - 0x702 /* 000000DA */]
000007DE 3A00 move.w D5, D0
000007E0 0C45 0003 cmpi.w D5, 0x3
000007E4 504F addq.w A7, 8
000007E6 6606 bne +0x8 /* 000007EE */
000007E8 1B7C 0001 FD90 move.b [A5 - 0x270], 0x1
label000007EE:
000007EE 4CEE 10E0 FEF0 movem.l D5,D6,D7,A4, [A6 - 0x110]
000007F4 4E5E unlink A6
000007F6 4E75 rts
export_3:
000007F8 4E56 FFFC link A6, -0x0004
000007FC 2F07 move.l -[A7], D7
000007FE 486D 008A pea.l [A5 + 0x8A /* export_13 */]
00000802 A9F1 syscall UnloadSeg
00000804 4EAD 0092 jsr [A5 + 0x92 /* export_14 */]
00000808 558F subq.l A7, 2
0000080A 2F2D FC70 move.l -[A7], [A5 - 0x390]
0000080E 4EBA 1ACA jsr [PC + 0x1ACA /* 000022DA */]
00000812 4A1F tst.b [A7]+
00000814 6610 bne +0x12 /* 00000826 */
00000816 206D FD84 movea.l A0, [A5 - 0x27C]
0000081A 2050 movea.l A0, [A0]
0000081C 4A68 0006 tst.w [A0 + 0x6]
00000820 6604 bne +0x6 /* 00000826 */
00000822 4EBA 06C6 jsr [PC + 0x6C6 /* 00000EEA */]
label00000826:
00000826 4EBA 067A jsr [PC + 0x67A /* 00000EA2 */]
0000082A 2E00 move.l D7, D0
0000082C 6016 bra +0x18 /* 00000844 */
label0000082E:
0000082E 486E FFFC pea.l [A6 - 0x4]
00000832 A874 syscall GetPort
00000834 2F07 move.l -[A7], D7
00000836 4EBA 002C jsr [PC + 0x2C /* 00000864 */]
0000083A 2E00 move.l D7, D0
0000083C 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000840 A873 syscall SetPort
00000842 584F addq.w A7, 4
label00000844:
00000844 7007 moveq.l D0, 0x07
00000846 B087 cmp.l D0, D7
00000848 66E4 bne -0x1A /* 0000082E */
0000084A 4EBA 0632 jsr [PC + 0x632 /* 00000E7E */]
0000084E 4AAD FD88 tst.l [A5 - 0x278]
00000852 6706 beq +0x8 /* 0000085A */
00000854 2F2D FD88 move.l -[A7], [A5 - 0x278]
00000858 A9AD syscall RemoveResource/RmveResource
label0000085A:
0000085A A9F4 syscall ExitToShell
0000085C 2E2E FFF8 move.l D7, [A6 - 0x8]
00000860 4E5E unlink A6
00000862 4E75 rts
fn00000864:
00000864 4E56 FFFE link A6, -0x0002
00000868 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
0000086C 2A2E 0008 move.l D5, [A6 + 0x8]
00000870 49ED FC80 lea.l A4, [A5 - 0x380]
00000874 7E04 moveq.l D7, 0x04
00000876 4206 clr.b D6
00000878 2005 move.l D0, D5
0000087A 6B00 0258 bmi +0x25A /* 00000AD4 */
0000087E 0C80 0000 0009 cmpi.l D0, 0x9 /* '\t' */
00000884 6E00 024E bgt +0x250 /* 00000AD4 */
00000888 D080 add.l D0, D0
0000088A 303B 0806 move.w D0, [PC + D0 + 0x6]
0000088E 4EFB 0000 jmp [PC + D0.w]
00000892 0016 01B0 ori.b [A6], 0xB0
00000896 01BA 01D2 bclr [PC + 0x1D2 /* 00000A6A, value 0x2E007001, cstring "." */], D0
0000089A 01EA .incomplete
0000089C 020E 0238 andi.b A6, 0x38 /* '8' */
000008A0 0244 01B0 andi.w D4, 0x1B0
000008A4 020E 4A2D andi.b A6, 0x2D /* '-' */
000008A8 FD90 .invalid <<F/6/6>>
000008AA 6600 0228 bne +0x22A /* 00000AD4 */
000008AE 302D FD80 move.w D0, [A5 - 0x280]
000008B2 B06D FD82 cmp.w D0, [A5 - 0x27E]
000008B6 6700 013A beq +0x13C /* 000009F2 */
000008BA 426E FFFE clr.w [A6 - 0x2]
000008BE 206D FD84 movea.l A0, [A5 - 0x27C]
000008C2 2050 movea.l A0, [A0]
000008C4 4A28 0004 tst.b [A0 + 0x4]
000008C8 662A bne +0x2C /* 000008F4 */
000008CA 302D FD82 move.w D0, [A5 - 0x27E]
000008CE 48C0 ext.l D0
000008D0 5380 subq.l D0, 1
000008D2 2200 move.l D1, D0
000008D4 C0FC 03E8 mulu.w D0, 0x3E8
000008D8 4841 swap.w D1
000008DA C2FC 03E8 mulu.w D1, 0x3E8
000008DE 4841 swap.w D1
000008E0 4241 clr.w D1
000008E2 D081 add.l D0, D1
000008E4 3800 move.w D4, D0
000008E6 D87C 0400 add.w D4, 0x400
000008EA 4214 clr.b [A4]
000008EC 1B7C 0001 FD8E move.b [A5 - 0x272], 0x1
000008F2 6020 bra +0x22 /* 00000914 */
label000008F4:
000008F4 2F0C move.l -[A7], A4
000008F6 7000 moveq.l D0, 0x00
000008F8 3F00 move.w -[A7], D0
000008FA 3F2D FD82 move.w -[A7], [A5 - 0x27E]
000008FE 4EBA 23D0 jsr [PC + 0x23D0 /* 00002CD0 */]
00000902 4244 clr.w D4
00000904 486E FFFE pea.l [A6 - 0x2]
00000908 2F0C move.l -[A7], A4
0000090A 4EBA 1352 jsr [PC + 0x1352 /* 00001C5E */]
0000090E 1B40 FD8E move.b [A5 - 0x272], D0
00000912 504F addq.w A7, 8
label00000914:
00000914 3B6D FD82 FD80 move.w [A5 - 0x280], [A5 - 0x27E]
0000091A 4EBA 1402 jsr [PC + 0x1402 /* 00001D1E */]
0000091E 4EBA 140A jsr [PC + 0x140A /* 00001D2A */]
00000922 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000926 700A moveq.l D0, 0x0A
00000928 3F00 move.w -[A7], D0
0000092A 7200 moveq.l D1, 0x00
0000092C 2F01 move.l -[A7], D1
0000092E 4EBA 1984 jsr [PC + 0x1984 /* 000022B4 */]
00000932 4A2D FD8E tst.b [A5 - 0x272]
00000936 6742 beq +0x44 /* 0000097A */
00000938 4A14 tst.b [A4]
0000093A 671A beq +0x1C /* 00000956 */
0000093C 558F subq.l A7, 2
0000093E 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000942 2F0C move.l -[A7], A4
00000944 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000948 4EBA 025C jsr [PC + 0x25C /* 00000BA6 */]
0000094C 2F00 move.l -[A7], D0
0000094E 4EBA 163E jsr [PC + 0x163E /* 00001F8E */]
00000952 544F addq.w A7, 2
00000954 6014 bra +0x16 /* 0000096A */
label00000956:
00000956 558F subq.l A7, 2
00000958 2F2D FC70 move.l -[A7], [A5 - 0x390]
0000095C 3F04 move.w -[A7], D4
0000095E 4EBA 0246 jsr [PC + 0x246 /* 00000BA6 */]
00000962 2F00 move.l -[A7], D0
00000964 4EBA 1686 jsr [PC + 0x1686 /* 00001FEC */]
00000968 544F addq.w A7, 2
label0000096A:
0000096A 558F subq.l A7, 2
0000096C 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000970 4EBA 18A6 jsr [PC + 0x18A6 /* 00002218 */]
00000974 3B5F FC7C move.w [A5 - 0x384], [A7]+
00000978 6034 bra +0x36 /* 000009AE */
label0000097A:
0000097A 558F subq.l A7, 2
0000097C 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000980 2F0C move.l -[A7], A4
00000982 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000986 4EBA 0254 jsr [PC + 0x254 /* 00000BDC */]
0000098A 2F00 move.l -[A7], D0
0000098C 4EBA 1600 jsr [PC + 0x1600 /* 00001F8E */]
00000990 558F subq.l A7, 2
00000992 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000996 4EBA 1880 jsr [PC + 0x1880 /* 00002218 */]
0000099A 3B5F FC7C move.w [A5 - 0x384], [A7]+
0000099E 544F addq.w A7, 2
000009A0 660C bne +0xE /* 000009AE */
000009A2 2F2D FC70 move.l -[A7], [A5 - 0x390]
000009A6 7000 moveq.l D0, 0x00
000009A8 2F00 move.l -[A7], D0
000009AA 4EBA 16D6 jsr [PC + 0x16D6 /* 00002082 */]
label000009AE:
000009AE 4A6D FC7C tst.w [A5 - 0x384]
000009B2 57C0 seq D0
000009B4 0240 0001 andi.w D0, 0x1
000009B8 48C0 ext.l D0
000009BA 1C00 move.b D6, D0
000009BC 4A6D FC7C tst.w [A5 - 0x384]
000009C0 6744 beq +0x46 /* 00000A06 */
000009C2 206D FD84 movea.l A0, [A5 - 0x27C]
000009C6 2050 movea.l A0, [A0]
000009C8 4A28 0004 tst.b [A0 + 0x4]
000009CC 660E bne +0x10 /* 000009DC */
000009CE 2F0C move.l -[A7], A4
000009D0 7000 moveq.l D0, 0x00
000009D2 3F00 move.w -[A7], D0
000009D4 3F2D FD82 move.w -[A7], [A5 - 0x27E]
000009D8 4EBA 22F6 jsr [PC + 0x22F6 /* 00002CD0 */]
label000009DC:
000009DC 302D FC7C move.w D0, [A5 - 0x384]
000009E0 48C0 ext.l D0
000009E2 2F00 move.l -[A7], D0
000009E4 2F0C move.l -[A7], A4
000009E6 4EBA FCFE jsr [PC - 0x302 /* 000006E6 */]
000009EA 426D FD80 clr.w [A5 - 0x280]
000009EE 504F addq.w A7, 8
000009F0 6014 bra +0x16 /* 00000A06 */
label000009F2:
000009F2 7C01 moveq.l D6, 0x01
000009F4 4A2D FD8E tst.b [A5 - 0x272]
000009F8 660C bne +0xE /* 00000A06 */
000009FA 2F2D FC70 move.l -[A7], [A5 - 0x390]
000009FE 7000 moveq.l D0, 0x00
00000A00 2F00 move.l -[A7], D0
00000A02 4EBA 167E jsr [PC + 0x167E /* 00002082 */]
label00000A06:
00000A06 526D FD82 addq.w [A5 - 0x27E], 1
00000A0A 206D FD84 movea.l A0, [A5 - 0x27C]
00000A0E 2050 movea.l A0, [A0]
00000A10 302D FD82 move.w D0, [A5 - 0x27E]
00000A14 B068 0006 cmp.w D0, [A0 + 0x6]
00000A18 6E04 bgt +0x6 /* 00000A1E */
00000A1A 7E00 moveq.l D7, 0x00
00000A1C 601A bra +0x1C /* 00000A38 */
label00000A1E:
00000A1E 4A2D FD92 tst.b [A5 - 0x26E]
00000A22 6714 beq +0x16 /* 00000A38 */
00000A24 4A2D FD9A tst.b [A5 - 0x266]
00000A28 6606 bne +0x8 /* 00000A30 */
00000A2A 4A2D FD8C tst.b [A5 - 0x274]
00000A2E 6708 beq +0xA /* 00000A38 */
label00000A30:
00000A30 3B7C 0001 FD82 move.w [A5 - 0x27E], 0x1
00000A36 7E00 moveq.l D7, 0x00
label00000A38:
00000A38 422D FD8C clr.b [A5 - 0x274]
00000A3C 6000 0096 bra +0x98 /* 00000AD4 */
00000A40 4EBA F73C jsr [PC - 0x8C4 /* 0000017E */]
00000A44 2E00 move.l D7, D0
00000A46 6000 008C bra +0x8E /* 00000AD4 */
00000A4A 4EBA 0EC8 jsr [PC + 0xEC8 /* 00001914 */]
00000A4E 4A00 tst.b D0
00000A50 670C beq +0xE /* 00000A5E */
00000A52 4A6D FC7C tst.w [A5 - 0x384]
00000A56 6602 bne +0x4 /* 00000A5A */
00000A58 7C01 moveq.l D6, 0x01
label00000A5A:
00000A5A 7E02 moveq.l D7, 0x02
00000A5C 6076 bra +0x78 /* 00000AD4 */
label00000A5E:
00000A5E 7E01 moveq.l D7, 0x01
00000A60 6072 bra +0x74 /* 00000AD4 */
00000A62 7001 moveq.l D0, 0x01
00000A64 2F00 move.l -[A7], D0
00000A66 4EBA F848 jsr [PC - 0x7B8 /* 000002B0 */]
00000A6A 2E00 move.l D7, D0
00000A6C 7001 moveq.l D0, 0x01
00000A6E B087 cmp.l D0, D7
00000A70 584F addq.w A7, 4
00000A72 6660 bne +0x62 /* 00000AD4 */
00000A74 4EBA 0588 jsr [PC + 0x588 /* 00000FFE */]
00000A78 605A bra +0x5C /* 00000AD4 */
00000A7A 4EBA 12A2 jsr [PC + 0x12A2 /* 00001D1E */]
00000A7E 206D FD84 movea.l A0, [A5 - 0x27C]
00000A82 2050 movea.l A0, [A0]
00000A84 4A68 0006 tst.w [A0 + 0x6]
00000A88 6F10 ble +0x12 /* 00000A9A */
00000A8A 206D FD84 movea.l A0, [A5 - 0x27C]
00000A8E 2050 movea.l A0, [A0]
00000A90 4A28 0008 tst.b [A0 + 0x8]
00000A94 6604 bne +0x6 /* 00000A9A */
00000A96 4EBA FB50 jsr [PC - 0x4B0 /* 000005E8 */]
label00000A9A:
00000A9A 7E07 moveq.l D7, 0x07
00000A9C 6036 bra +0x38 /* 00000AD4 */
00000A9E 7009 moveq.l D0, 0x09
00000AA0 B085 cmp.l D0, D5
00000AA2 56C0 sne D0
00000AA4 4400 neg.b D0
00000AA6 4880 ext.w D0
00000AA8 48C0 ext.l D0
00000AAA 2F00 move.l -[A7], D0
00000AAC 4EBA F802 jsr [PC - 0x7FE /* 000002B0 */]
00000AB0 2E00 move.l D7, D0
00000AB2 7009 moveq.l D0, 0x09
00000AB4 B085 cmp.l D0, D5
00000AB6 584F addq.w A7, 4
00000AB8 661A bne +0x1C /* 00000AD4 */
00000ABA 206D FD84 movea.l A0, [A5 - 0x27C]
00000ABE 2050 movea.l A0, [A0]
00000AC0 1B50 FD92 move.b [A5 - 0x26E], [A0]
00000AC4 7E00 moveq.l D7, 0x00
00000AC6 600C bra +0xE /* 00000AD4 */
00000AC8 4878 76C6 push.l 0x76C6
00000ACC 4EBA FBC6 jsr [PC - 0x43A /* 00000694 */]
00000AD0 2E00 move.l D7, D0
00000AD2 584F addq.w A7, 4
label00000AD4:
00000AD4 4A06 tst.b D6
00000AD6 6700 00C2 beq +0xC4 /* 00000B9A */
00000ADA 4206 clr.b D6
00000ADC 4A2D FD92 tst.b [A5 - 0x26E]
00000AE0 6718 beq +0x1A /* 00000AFA */
00000AE2 4A87 tst.l D7
00000AE4 6704 beq +0x6 /* 00000AEA */
00000AE6 7C01 moveq.l D6, 0x01
00000AE8 6010 bra +0x12 /* 00000AFA */
label00000AEA:
00000AEA 206D FD84 movea.l A0, [A5 - 0x27C]
00000AEE 2050 movea.l A0, [A0]
00000AF0 7001 moveq.l D0, 0x01
00000AF2 B068 0006 cmp.w D0, [A0 + 0x6]
00000AF6 6602 bne +0x4 /* 00000AFA */
00000AF8 7C01 moveq.l D6, 0x01
label00000AFA:
00000AFA A856 syscall ObscureCursor
00000AFC 4A2D FD8E tst.b [A5 - 0x272]
00000B00 6722 beq +0x24 /* 00000B24 */
00000B02 A856 syscall ObscureCursor
00000B04 4A06 tst.b D6
00000B06 670C beq +0xE /* 00000B14 */
00000B08 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000B0C 7001 moveq.l D0, 0x01
00000B0E 1F00 move.b -[A7], D0
00000B10 4EBA 15D2 jsr [PC + 0x15D2 /* 000020E4 */]
label00000B14:
00000B14 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000B18 2F3C 1000 0000 move.l -[A7], 0x10000000
00000B1E 4EBA 1562 jsr [PC + 0x1562 /* 00002082 */]
00000B22 6010 bra +0x12 /* 00000B34 */
label00000B24:
00000B24 4A06 tst.b D6
00000B26 670C beq +0xE /* 00000B34 */
00000B28 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000B2C 7001 moveq.l D0, 0x01
00000B2E 1F00 move.b -[A7], D0
00000B30 4EBA 15B2 jsr [PC + 0x15B2 /* 000020E4 */]
label00000B34:
00000B34 1B7C 0001 FD9A move.b [A5 - 0x266], 0x1
00000B3A 426D FC7C clr.w [A5 - 0x384]
00000B3E 7000 moveq.l D0, 0x00
00000B40 1006 move.b D0, D6
00000B42 2F00 move.l -[A7], D0
00000B44 4EBA 00EE jsr [PC + 0xEE /* 00000C34 */]
00000B48 4A2D FD8E tst.b [A5 - 0x272]
00000B4C 584F addq.w A7, 4
00000B4E 6722 beq +0x24 /* 00000B72 */
00000B50 4A06 tst.b D6
00000B52 670C beq +0xE /* 00000B60 */
00000B54 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000B58 7000 moveq.l D0, 0x00
00000B5A 1F00 move.b -[A7], D0
00000B5C 4EBA 1586 jsr [PC + 0x1586 /* 000020E4 */]
label00000B60:
00000B60 4A87 tst.l D7
00000B62 671E beq +0x20 /* 00000B82 */
00000B64 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000B68 7000 moveq.l D0, 0x00
00000B6A 2F00 move.l -[A7], D0
00000B6C 4EBA 1534 jsr [PC + 0x1534 /* 000020A2 */]
00000B70 6010 bra +0x12 /* 00000B82 */
label00000B72:
00000B72 4A06 tst.b D6
00000B74 670C beq +0xE /* 00000B82 */
00000B76 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000B7A 7000 moveq.l D0, 0x00
00000B7C 1F00 move.b -[A7], D0
00000B7E 4EBA 1564 jsr [PC + 0x1564 /* 000020E4 */]
label00000B82:
00000B82 4A6D FC7C tst.w [A5 - 0x384]
00000B86 6712 beq +0x14 /* 00000B9A */
00000B88 302D FC7C move.w D0, [A5 - 0x384]
00000B8C 48C0 ext.l D0
00000B8E 2F00 move.l -[A7], D0
00000B90 486D FC6C pea.l [A5 - 0x394]
00000B94 4EBA FB50 jsr [PC - 0x4B0 /* 000006E6 */]
00000B98 504F addq.w A7, 8
label00000B9A:
00000B9A 2007 move.l D0, D7
00000B9C 4CEE 10F0 FFEA movem.l D4,D5,D6,D7,A4, [A6 - 0x16]
00000BA2 4E5E unlink A6
00000BA4 4E75 rts
fn00000BA6:
00000BA6 4E56 0000 link A6, 0
00000BAA 2F07 move.l -[A7], D7
00000BAC 7E04 moveq.l D7, 0x04
00000BAE 206D FD84 movea.l A0, [A5 - 0x27C]
00000BB2 2050 movea.l A0, [A0]
00000BB4 4A28 0003 tst.b [A0 + 0x3]
00000BB8 6706 beq +0x8 /* 00000BC0 */
00000BBA 0687 0000 4000 addi.l D7, 0x4000 /* '@\0' */
label00000BC0:
00000BC0 206D FD84 movea.l A0, [A5 - 0x27C]
00000BC4 2050 movea.l A0, [A0]
00000BC6 4A28 0002 tst.b [A0 + 0x2]
00000BCA 6706 beq +0x8 /* 00000BD2 */
00000BCC 0687 0001 0001 addi.l D7, 0x10001
label00000BD2:
00000BD2 2007 move.l D0, D7
00000BD4 2E2E FFFC move.l D7, [A6 - 0x4]
00000BD8 4E5E unlink A6
00000BDA 4E75 rts
fn00000BDC:
00000BDC 4E56 0000 link A6, 0
00000BE0 2F07 move.l -[A7], D7
00000BE2 7E00 moveq.l D7, 0x00
00000BE4 206D FD84 movea.l A0, [A5 - 0x27C]
00000BE8 2050 movea.l A0, [A0]
00000BEA 1028 000A move.b D0, [A0 + 0xA]
00000BEE 5300 subq.b D0, 1
00000BF0 6706 beq +0x8 /* 00000BF8 */
00000BF2 5300 subq.b D0, 1
00000BF4 670A beq +0xC /* 00000C00 */
00000BF6 600E bra +0x10 /* 00000C06 */
label00000BF8:
00000BF8 2E3C 0000 2000 move.l D7, 0x2000 /* ' \0' */
00000BFE 6006 bra +0x8 /* 00000C06 */
label00000C00:
00000C00 2E3C 0000 1000 move.l D7, 0x1000
label00000C06:
00000C06 206D FD84 movea.l A0, [A5 - 0x27C]
00000C0A 2050 movea.l A0, [A0]
00000C0C 4A28 0003 tst.b [A0 + 0x3]
00000C10 6706 beq +0x8 /* 00000C18 */
00000C12 0687 0000 4000 addi.l D7, 0x4000 /* '@\0' */
label00000C18:
00000C18 206D FD84 movea.l A0, [A5 - 0x27C]
00000C1C 2050 movea.l A0, [A0]
00000C1E 4A28 0002 tst.b [A0 + 0x2]
00000C22 6706 beq +0x8 /* 00000C2A */
00000C24 0687 0001 0001 addi.l D7, 0x10001
label00000C2A:
00000C2A 2007 move.l D0, D7
00000C2C 2E2E FFFC move.l D7, [A6 - 0x4]
00000C30 4E5E unlink A6
00000C32 4E75 rts
fn00000C34:
00000C34 4E56 FFEE link A6, -0x0012
00000C38 48E7 1F00 movem.l -[A7], D3,D4,D5,D6,D7
00000C3C 4205 clr.b D5
00000C3E 7C01 moveq.l D6, 0x01
00000C40 558F subq.l A7, 2
00000C42 7040 moveq.l D0, 0x40
00000C44 3F00 move.w -[A7], D0
00000C46 486E FFEE pea.l [A6 - 0x12]
00000C4A A970 syscall GetNextEvent
00000C4C 4A1F tst.b [A7]+
00000C4E 670E beq +0x10 /* 00000C5E */
00000C50 7000 moveq.l D0, 0x00
00000C52 2F00 move.l -[A7], D0
00000C54 2F2E FFF0 move.l -[A7], [A6 - 0x10]
00000C58 4EBA 01D0 jsr [PC + 0x1D0 /* 00000E2A */]
00000C5C 504F addq.w A7, 8
label00000C5E:
00000C5E 558F subq.l A7, 2
00000C60 70FF moveq.l D0, 0xFFFFFFFF
00000C62 3F00 move.w -[A7], D0
00000C64 486E FFEE pea.l [A6 - 0x12]
00000C68 4A06 tst.b D6
00000C6A 6704 beq +0x6 /* 00000C70 */
00000C6C 7200 moveq.l D1, 0x00
00000C6E 6002 bra +0x4 /* 00000C72 */
label00000C70:
00000C70 720A moveq.l D1, 0x0A
label00000C72:
00000C72 4881 ext.w D1
00000C74 48C1 ext.l D1
00000C76 2F01 move.l -[A7], D1
00000C78 7000 moveq.l D0, 0x00
00000C7A 2F00 move.l -[A7], D0
00000C7C A860 syscall WaitNextEvent
00000C7E 1D5F FFFF move.b [A6 - 0x1], [A7]+
00000C82 558F subq.l A7, 2
00000C84 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000C88 4EBA 158E jsr [PC + 0x158E /* 00002218 */]
00000C8C 4A5F tst.w [A7]+
00000C8E 670C beq +0xE /* 00000C9C */
00000C90 3B7C FF94 FC7C move.w [A5 - 0x384], 0xFF94
00000C96 7A01 moveq.l D5, 0x01
00000C98 6000 00E0 bra +0xE2 /* 00000D7A */
label00000C9C:
00000C9C 4A2E FFFF tst.b [A6 - 0x1]
00000CA0 6700 00D8 beq +0xDA /* 00000D7A */
00000CA4 7006 moveq.l D0, 0x06
00000CA6 B06E FFEE cmp.w D0, [A6 - 0x12]
00000CAA 6610 bne +0x12 /* 00000CBC */
00000CAC 7001 moveq.l D0, 0x01
00000CAE 2F00 move.l -[A7], D0
00000CB0 2F2E FFF0 move.l -[A7], [A6 - 0x10]
00000CB4 4EBA 0174 jsr [PC + 0x174 /* 00000E2A */]
00000CB8 504F addq.w A7, 8
00000CBA 60A2 bra -0x5C /* 00000C5E */
label00000CBC:
00000CBC 700F moveq.l D0, 0x0F
00000CBE B06E FFEE cmp.w D0, [A6 - 0x12]
00000CC2 664A bne +0x4C /* 00000D0E */
00000CC4 203C FF00 0000 move.l D0, 0xFF000000
00000CCA C0AE FFF0 and.l D0, [A6 - 0x10]
00000CCE 0C80 0100 0000 cmpi.l D0, 0x1000000
00000CD4 6638 bne +0x3A /* 00000D0E */
00000CD6 202E FFF0 move.l D0, [A6 - 0x10]
00000CDA 0800 0000 btst.b D0, 0x0
00000CDE 671E beq +0x20 /* 00000CFE */
00000CE0 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000CE4 7001 moveq.l D0, 0x01
00000CE6 1F00 move.b -[A7], D0
00000CE8 4EBA 150A jsr [PC + 0x150A /* 000021F4 */]
00000CEC 7C01 moveq.l D6, 0x01
00000CEE 7001 moveq.l D0, 0x01
00000CF0 2F00 move.l -[A7], D0
00000CF2 2F2D FC74 move.l -[A7], [A5 - 0x38C]
00000CF6 4EBA 0132 jsr [PC + 0x132 /* 00000E2A */]
00000CFA 504F addq.w A7, 8
00000CFC 6010 bra +0x12 /* 00000D0E */
label00000CFE:
00000CFE 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000D02 7000 moveq.l D0, 0x00
00000D04 1F00 move.b -[A7], D0
00000D06 4EBA 14EC jsr [PC + 0x14EC /* 000021F4 */]
00000D0A 4206 clr.b D6
00000D0C A850 syscall InitCursor
label00000D0E:
00000D0E 7003 moveq.l D0, 0x03
00000D10 B06E FFEE cmp.w D0, [A6 - 0x12]
00000D14 6664 bne +0x66 /* 00000D7A */
00000D16 2E3C 0000 00FF move.l D7, 0xFF
00000D1C CEAE FFF0 and.l D7, [A6 - 0x10]
00000D20 303C 0100 move.w D0, 0x100
00000D24 C06E FFFC and.w D0, [A6 - 0x4]
00000D28 6720 beq +0x22 /* 00000D4A */
00000D2A 0C07 002E cmpi.b D7, 0x2E /* '.' */
00000D2E 6718 beq +0x1A /* 00000D48 */
00000D30 0C07 0051 cmpi.b D7, 0x51 /* 'Q' */
00000D34 6712 beq +0x14 /* 00000D48 */
00000D36 0C07 0071 cmpi.b D7, 0x71 /* 'q' */
00000D3A 670C beq +0xE /* 00000D48 */
00000D3C 0C07 0057 cmpi.b D7, 0x57 /* 'W' */
00000D40 6706 beq +0x8 /* 00000D48 */
00000D42 0C07 0077 cmpi.b D7, 0x77 /* 'w' */
00000D46 6602 bne +0x4 /* 00000D4A */
label00000D48:
00000D48 7A01 moveq.l D5, 0x01
label00000D4A:
00000D4A 0C07 007E cmpi.b D7, 0x7E /* '~' */
00000D4E 6706 beq +0x8 /* 00000D56 */
00000D50 0C07 0060 cmpi.b D7, 0x60 /* '`' */
00000D54 6624 bne +0x26 /* 00000D7A */
label00000D56:
00000D56 206D FD84 movea.l A0, [A5 - 0x27C]
00000D5A 2050 movea.l A0, [A0]
00000D5C 4A28 0001 tst.b [A0 + 0x1]
00000D60 57C3 seq D3
00000D62 4403 neg.b D3
00000D64 1803 move.b D4, D3
00000D66 206D FD84 movea.l A0, [A5 - 0x27C]
00000D6A 2050 movea.l A0, [A0]
00000D6C 1144 0001 move.b [A0 + 0x1], D4
00000D70 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000D74 1F04 move.b -[A7], D4
00000D76 4EBA 14BC jsr [PC + 0x14BC /* 00002234 */]
label00000D7A:
00000D7A 4A06 tst.b D6
00000D7C 6700 FEE0 beq -0x11E /* 00000C5E */
00000D80 4A05 tst.b D5
00000D82 672C beq +0x2E /* 00000DB0 */
label00000D84:
00000D84 422D FD92 clr.b [A5 - 0x26E]
00000D88 1B7C 0001 FD90 move.b [A5 - 0x270], 0x1
00000D8E 4A2D FD8E tst.b [A5 - 0x272]
00000D92 670E beq +0x10 /* 00000DA2 */
00000D94 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000D98 7000 moveq.l D0, 0x00
00000D9A 2F00 move.l -[A7], D0
00000D9C 4EBA 1304 jsr [PC + 0x1304 /* 000020A2 */]
00000DA0 600E bra +0x10 /* 00000DB0 */
label00000DA2:
00000DA2 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000DA6 7000 moveq.l D0, 0x00
00000DA8 2F00 move.l -[A7], D0
00000DAA 4EBA 12F6 jsr [PC + 0x12F6 /* 000020A2 */]
00000DAE 6070 bra +0x72 /* 00000E20 */
label00000DB0:
00000DB0 4A2D FD8E tst.b [A5 - 0x272]
00000DB4 6746 beq +0x48 /* 00000DFC */
00000DB6 558F subq.l A7, 2
00000DB8 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000DBC 4EBA 1304 jsr [PC + 0x1304 /* 000020C2 */]
00000DC0 4A1F tst.b [A7]+
00000DC2 665C bne +0x5E /* 00000E20 */
00000DC4 558F subq.l A7, 2
00000DC6 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000DCA 4EBA 133C jsr [PC + 0x133C /* 00002108 */]
00000DCE 558F subq.l A7, 2
00000DD0 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000DD4 7010 moveq.l D0, 0x10
00000DD6 3F00 move.w -[A7], D0
00000DD8 4EBA 14A6 jsr [PC + 0x14A6 /* 00002280 */]
00000DDC 4A1F tst.b [A7]+
00000DDE 544F addq.w A7, 2
00000DE0 6700 FE7C beq -0x182 /* 00000C5E */
00000DE4 422D FD92 clr.b [A5 - 0x26E]
00000DE8 558F subq.l A7, 2
00000DEA 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000DEE 7011 moveq.l D0, 0x11
00000DF0 3F00 move.w -[A7], D0
00000DF2 4EBA 148C jsr [PC + 0x148C /* 00002280 */]
00000DF6 4A1F tst.b [A7]+
00000DF8 668A bne -0x74 /* 00000D84 */
00000DFA 6024 bra +0x26 /* 00000E20 */
label00000DFC:
00000DFC 558F subq.l A7, 2
00000DFE 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000E02 4EBA 1304 jsr [PC + 0x1304 /* 00002108 */]
00000E06 4A1F tst.b [A7]+
00000E08 6600 FE54 bne -0x1AA /* 00000C5E */
00000E0C 4A2E 000B tst.b [A6 + 0xB]
00000E10 6600 FE4C bne -0x1B2 /* 00000C5E */
00000E14 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000E18 7000 moveq.l D0, 0x00
00000E1A 2F00 move.l -[A7], D0
00000E1C 4EBA 1284 jsr [PC + 0x1284 /* 000020A2 */]
label00000E20:
00000E20 4CEE 00F8 FFDA movem.l D3,D4,D5,D6,D7, [A6 - 0x26]
00000E26 4E5E unlink A6
00000E28 4E75 rts
fn00000E2A:
00000E2A 4E56 FFFC link A6, -0x0004
00000E2E 2F0C move.l -[A7], A4
00000E30 286E 0008 movea.l A4, [A6 + 0x8]
00000E34 B9ED FC74 cmpa.l A4, [A5 - 0x38C]
00000E38 663C bne +0x3E /* 00000E76 */
00000E3A 486E FFFC pea.l [A6 - 0x4]
00000E3E A874 syscall GetPort
00000E40 2F0C move.l -[A7], A4
00000E42 A873 syscall SetPort
00000E44 4A2D FD8E tst.b [A5 - 0x272]
00000E48 6706 beq +0x8 /* 00000E50 */
00000E4A 486C 0010 pea.l [A4 + 0x10]
00000E4E A928 syscall InvalRect
label00000E50:
00000E50 2F0C move.l -[A7], A4
00000E52 A922 syscall BeginUpdate
00000E54 4A2E 000F tst.b [A6 + 0xF]
00000E58 6712 beq +0x14 /* 00000E6C */
00000E5A 4A2D FD8E tst.b [A5 - 0x272]
00000E5E 670C beq +0xE /* 00000E6C */
00000E60 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000E64 486C 0010 pea.l [A4 + 0x10]
00000E68 4EBA 11BE jsr [PC + 0x11BE /* 00002028 */]
label00000E6C:
00000E6C 2F0C move.l -[A7], A4
00000E6E A923 syscall EndUpdate
00000E70 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000E74 A873 syscall SetPort
label00000E76:
00000E76 286E FFF8 movea.l A4, [A6 - 0x8]
00000E7A 4E5E unlink A6
00000E7C 4E75 rts
fn00000E7E:
00000E7E 4E56 0000 link A6, 0
00000E82 4A2D FD94 tst.b [A5 - 0x26C]
00000E86 6616 bne +0x18 /* 00000E9E */
00000E88 206D FC74 movea.l A0, [A5 - 0x38C]
00000E8C 4868 0010 pea.l [A0 + 0x10]
00000E90 A8A3 syscall EraseRect
00000E92 2F2D FC70 move.l -[A7], [A5 - 0x390]
00000E96 7000 moveq.l D0, 0x00
00000E98 2F00 move.l -[A7], D0
00000E9A 4EBA 10AE jsr [PC + 0x10AE /* 00001F4A */]
label00000E9E:
00000E9E 4E5E unlink A6
00000EA0 4E75 rts
fn00000EA2:
00000EA2 4E56 FFF0 link A6, -0x0010
00000EA6 48E7 0108 movem.l -[A7], D7,A4
00000EAA 49EE FFF0 lea.l A4, [A6 - 0x10]
00000EAE 7E01 moveq.l D7, 0x01
00000EB0 206D FD84 movea.l A0, [A5 - 0x27C]
00000EB4 2050 movea.l A0, [A0]
00000EB6 4A68 0006 tst.w [A0 + 0x6]
00000EBA 6F22 ble +0x24 /* 00000EDE */
00000EBC 2F0C move.l -[A7], A4
00000EBE A976 syscall GetKeys
00000EC0 7004 moveq.l D0, 0x04
00000EC2 C0AC 0004 and.l D0, [A4 + 0x4]
00000EC6 6704 beq +0x6 /* 00000ECC */
00000EC8 7E09 moveq.l D7, 0x09
00000ECA 6002 bra +0x4 /* 00000ECE */
label00000ECC:
00000ECC 7E00 moveq.l D7, 0x00
label00000ECE:
00000ECE 3B7C 0001 FD82 move.w [A5 - 0x27E], 0x1
00000ED4 206D FD84 movea.l A0, [A5 - 0x27C]
00000ED8 2050 movea.l A0, [A0]
00000EDA 1B50 FD92 move.b [A5 - 0x26E], [A0]
label00000EDE:
00000EDE 2007 move.l D0, D7
00000EE0 4CEE 1080 FFE8 movem.l D7,A4, [A6 - 0x18]
00000EE6 4E5E unlink A6
00000EE8 4E75 rts
fn00000EEA:
00000EEA 4E56 FEE8 link A6, -0x0118
00000EEE 48E7 0118 movem.l -[A7], D7,A3,A4
00000EF2 486E FEF6 pea.l [A6 - 0x10A]
00000EF6 486E FEF4 pea.l [A6 - 0x10C]
00000EFA 4EBA 1D1C jsr [PC + 0x1D1C /* 00002C18 */]
00000EFE 4A6E FEF4 tst.w [A6 - 0x10C]
00000F02 6700 00D6 beq +0xD8 /* 00000FDA */
00000F06 4A6E FEF6 tst.w [A6 - 0x10A]
00000F0A 670A beq +0xC /* 00000F16 */
00000F0C 7001 moveq.l D0, 0x01
00000F0E B06E FEF6 cmp.w D0, [A6 - 0x10A]
00000F12 6600 00C6 bne +0xC8 /* 00000FDA */
label00000F16:
00000F16 7002 moveq.l D0, 0x02
00000F18 A122 syscall NewHandle, flags=1
00000F1A 2848 movea.l A4, A0
00000F1C 7E01 moveq.l D7, 0x01
00000F1E 6036 bra +0x38 /* 00000F56 */
label00000F20:
00000F20 3F07 move.w -[A7], D7
00000F22 486E FEF8 pea.l [A6 - 0x108]
00000F26 4EBA 1D14 jsr [PC + 0x1D14 /* 00002C3C */]
00000F2A 558F subq.l A7, 2
00000F2C 7000 moveq.l D0, 0x00
00000F2E 2F00 move.l -[A7], D0
00000F30 3F2E FEF8 move.w -[A7], [A6 - 0x108]
00000F34 4EBA 1B60 jsr [PC + 0x1B60 /* 00002A96 */]
00000F38 41EE FF00 lea.l A0, [A6 - 0x100]
00000F3C 224C movea.l A1, A4
00000F3E 7000 moveq.l D0, 0x00
00000F40 102E FF00 move.b D0, [A6 - 0x100]
00000F44 5240 addq.w D0, 1
00000F46 48C0 ext.l D0
00000F48 A9EF syscall PtrAndHand
00000F4A 3F07 move.w -[A7], D7
00000F4C 4EBA 1D34 jsr [PC + 0x1D34 /* 00002C82 */]
00000F50 544F addq.w A7, 2
00000F52 3007 move.w D0, D7
00000F54 5247 addq.w D7, 1
label00000F56:
00000F56 BE6E FEF4 cmp.w D7, [A6 - 0x10C]
00000F5A 6FC4 ble -0x3A /* 00000F20 */
00000F5C 2054 movea.l A0, [A4]
00000F5E 30AE FEF4 move.w [A0], [A6 - 0x10C]
00000F62 206D FD84 movea.l A0, [A5 - 0x27C]
00000F66 2050 movea.l A0, [A0]
00000F68 316E FEF4 0006 move.w [A0 + 0x6], [A6 - 0x10C]
00000F6E 206D FD84 movea.l A0, [A5 - 0x27C]
00000F72 2050 movea.l A0, [A0]
00000F74 117C 0001 0004 move.b [A0 + 0x4], 0x1
00000F7A 598F subq.l A7, 4
00000F7C 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
00000F82 7000 moveq.l D0, 0x00
00000F84 3F00 move.w -[A7], D0
00000F86 A81F syscall Get1Resource
00000F88 265F movea.l A3, [A7]+
00000F8A 200B move.l D0, A3
00000F8C 673A beq +0x3C /* 00000FC8 */
00000F8E 2D4B FEF0 move.l [A6 - 0x110], A3
00000F92 598F subq.l A7, 4
00000F94 2F0C move.l -[A7], A4
00000F96 4EBA 1A12 jsr [PC + 0x1A12 /* 000029AA */]
00000F9A 201F move.l D0, [A7]+
00000F9C 206E FEF0 movea.l A0, [A6 - 0x110]
00000FA0 A024 syscall SetHandleSize
00000FA2 2054 movea.l A0, [A4]
00000FA4 2253 movea.l A1, [A3]
00000FA6 2D48 FEEC move.l [A6 - 0x114], A0
00000FAA 2D49 FEE8 move.l [A6 - 0x118], A1
00000FAE 598F subq.l A7, 4
00000FB0 2F0C move.l -[A7], A4
00000FB2 4EBA 19F6 jsr [PC + 0x19F6 /* 000029AA */]
00000FB6 201F move.l D0, [A7]+
00000FB8 206E FEEC movea.l A0, [A6 - 0x114]
00000FBC 226E FEE8 movea.l A1, [A6 - 0x118]
00000FC0 A02E syscall BlockMove/BlockMoveData
00000FC2 204C movea.l A0, A4
00000FC4 A023 syscall DisposHandle/DisposeHandle
00000FC6 6012 bra +0x14 /* 00000FDA */
label00000FC8:
00000FC8 2F0C move.l -[A7], A4
00000FCA 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
00000FD0 7000 moveq.l D0, 0x00
00000FD2 3F00 move.w -[A7], D0
00000FD4 486D FC6E pea.l [A5 - 0x392]
00000FD8 A9AB syscall AddResource
label00000FDA:
00000FDA 4CEE 1880 FEDC movem.l D7,A3,A4, [A6 - 0x124]
00000FE0 4E5E unlink A6
00000FE2 4E75 rts
fn00000FE4:
00000FE4 4E56 0000 link A6, 0
00000FE8 302E 000A move.w D0, [A6 + 0xA]
00000FEC 0440 FFDE subi.w D0, 0xFFDE
00000FF0 6604 bne +0x6 /* 00000FF6 */
00000FF2 70DE moveq.l D0, 0xFFFFFFDE
00000FF4 6004 bra +0x6 /* 00000FFA */
label00000FF6:
00000FF6 303C 56F0 move.w D0, 0x56F0
label00000FFA:
00000FFA 4E5E unlink A6
00000FFC 4E75 rts
fn00000FFE:
00000FFE 4E56 FD26 link A6, -0x02DA
00001002 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00001006 47EE FE2A lea.l A3, [A6 - 0x1D6]
0000100A 4204 clr.b D4
0000100C 426E FFD0 clr.w [A6 - 0x30]
00001010 4205 clr.b D5
00001012 422E FFFF clr.b [A6 - 0x1]
00001016 A853 syscall ShowCursor
00001018 558F subq.l A7, 2
0000101A A994 syscall CurResFile
0000101C 3D5F FFCE move.w [A6 - 0x32], [A7]+
00001020 422E FD2A clr.b [A6 - 0x2D6]
00001024 2D7C 5657 5052 FFBE move.l [A6 - 0x42], 0x56575052 /* 'VWPR' */
0000102C 2D7C 5657 4D44 FFC2 move.l [A6 - 0x3E], 0x56574D44 /* 'VWMD' */
00001034 3D7C 0002 FFD6 move.w [A6 - 0x2A], 0x2
0000103A 206D FD84 movea.l A0, [A5 - 0x27C]
0000103E 2050 movea.l A0, [A0]
00001040 4A28 0004 tst.b [A0 + 0x4]
00001044 670E beq +0x10 /* 00001054 */
00001046 2D7C 5657 4330 FFC6 move.l [A6 - 0x3A], 0x56574330 /* 'VWC0' */
0000104E 3D7C 0003 FFD6 move.w [A6 - 0x2A], 0x3
label00001054:
00001054 486E FD2A pea.l [A6 - 0x2D6]
00001058 3F3C 1165 move.w -[A7], 0x1165
0000105C 7002 moveq.l D0, 0x02
0000105E 3F00 move.w -[A7], D0
00001060 4EBA 1C6E jsr [PC + 0x1C6E /* 00002CD0 */]
00001064 2F0B move.l -[A7], A3
00001066 3F3C 1165 move.w -[A7], 0x1165
0000106A 7001 moveq.l D0, 0x01
0000106C 3F00 move.w -[A7], D0
0000106E 4EBA 1C60 jsr [PC + 0x1C60 /* 00002CD0 */]
00001072 486E FD26 pea.l [A6 - 0x2DA]
00001076 2F3C FFFF F061 move.l -[A7], 0xFFFFF061
0000107C 4EBA EFE0 jsr [PC - 0x1020 /* 0000005E */]
00001080 2F2E FD26 move.l -[A7], [A6 - 0x2DA]
00001084 486E FD2A pea.l [A6 - 0x2D6]
00001088 2F0B move.l -[A7], A3
0000108A 7000 moveq.l D0, 0x00
0000108C 2F00 move.l -[A7], D0
0000108E 486E FF74 pea.l [A6 - 0x8C]
00001092 3F3C 0001 move.w -[A7], 0x1
00001096 A9EA syscall Pack3
00001098 4A2E FF74 tst.b [A6 - 0x8C]
0000109C 504F addq.w A7, 8
0000109E 6700 0404 beq +0x406 /* 000014A4 */
000010A2 3D7C FFFF FD26 move.w [A6 - 0x2DA], 0xFFFF
000010A8 3D7C FFFF FD28 move.w [A6 - 0x2D8], 0xFFFF
000010AE 7EFF moveq.l D7, 0xFFFFFFFF
label000010B0:
000010B0 486E FF7E pea.l [A6 - 0x82]
000010B4 7000 moveq.l D0, 0x00
000010B6 2F00 move.l -[A7], D0
000010B8 2F00 move.l -[A7], D0
000010BA 2F00 move.l -[A7], D0
000010BC A98B syscall ParamText
000010BE 486E FD26 pea.l [A6 - 0x2DA]
000010C2 4878 0DCF push.l 0xDCF
000010C6 4EBA EF96 jsr [PC - 0x106A /* 0000005E */]
000010CA 2F2E FD26 move.l -[A7], [A6 - 0x2DA]
000010CE 486E FD2A pea.l [A6 - 0x2D6]
000010D2 7000 moveq.l D0, 0x00
000010D4 2F00 move.l -[A7], D0
000010D6 3F2E FFD6 move.w -[A7], [A6 - 0x2A]
000010DA 486E FFBE pea.l [A6 - 0x42]
000010DE 2F00 move.l -[A7], D0
000010E0 486E FF2A pea.l [A6 - 0xD6]
000010E4 3F3C 0DCF move.w -[A7], 0xDCF
000010E8 2F00 move.l -[A7], D0
000010EA 3F3C 0004 move.w -[A7], 0x4
000010EE A9EA syscall Pack3
000010F0 4A2E FF2A tst.b [A6 - 0xD6]
000010F4 504F addq.w A7, 8
000010F6 660A bne +0xC /* 00001102 */
000010F8 4A04 tst.b D4
000010FA 6600 035C bne +0x35E /* 00001458 */
000010FE 6000 03A4 bra +0x3A6 /* 000014A4 */
label00001102:
00001102 4A04 tst.b D4
00001104 6600 01EA bne +0x1EC /* 000012F0 */
00001108 558F subq.l A7, 2
0000110A 7000 moveq.l D0, 0x00
0000110C 2F00 move.l -[A7], D0
0000110E 3F2E FF7A move.w -[A7], [A6 - 0x86]
00001112 4EBA 1982 jsr [PC + 0x1982 /* 00002A96 */]
00001116 3B5F FC7A move.w [A5 - 0x386], [A7]+
0000111A 558F subq.l A7, 2
0000111C 486E FF7E pea.l [A6 - 0x82]
00001120 7000 moveq.l D0, 0x00
00001122 3F00 move.w -[A7], D0
00001124 2F3C 4D4D 5042 move.l -[A7], 0x4D4D5042 /* 'MMPB' */
0000112A 2F3C 4150 504C move.l -[A7], 0x4150504C /* 'APPL' */
00001130 4EBA 19A4 jsr [PC + 0x19A4 /* 00002AD6 */]
00001134 3B5F FC7A move.w [A5 - 0x386], [A7]+
00001138 6612 bne +0x14 /* 0000114C */
0000113A 302E FF7A move.w D0, [A6 - 0x86]
0000113E 48C0 ext.l D0
00001140 2F00 move.l -[A7], D0
00001142 486E FF7E pea.l [A6 - 0x82]
00001146 4EBA 061C jsr [PC + 0x61C /* 00001764 */]
0000114A 504F addq.w A7, 8
label0000114C:
0000114C 486E FF7E pea.l [A6 - 0x82]
00001150 A9B1 syscall CreateResFile
00001152 558F subq.l A7, 2
00001154 A9AF syscall ResError
00001156 3B5F FC7A move.w [A5 - 0x386], [A7]+
0000115A 677E beq +0x80 /* 000011DA */
0000115C 70D0 moveq.l D0, 0xFFFFFFD0
0000115E B06D FC7A cmp.w D0, [A5 - 0x386]
00001162 6650 bne +0x52 /* 000011B4 */
00001164 558F subq.l A7, 2
00001166 486E FF7E pea.l [A6 - 0x82]
0000116A 3F2E FF7A move.w -[A7], [A6 - 0x86]
0000116E 4EBA 19A4 jsr [PC + 0x19A4 /* 00002B14 */]
00001172 558F subq.l A7, 2
00001174 486E FF7E pea.l [A6 - 0x82]
00001178 7000 moveq.l D0, 0x00
0000117A 3F00 move.w -[A7], D0
0000117C 2F3C 4D4D 5042 move.l -[A7], 0x4D4D5042 /* 'MMPB' */
00001182 2F3C 4150 504C move.l -[A7], 0x4150504C /* 'APPL' */
00001188 4EBA 194C jsr [PC + 0x194C /* 00002AD6 */]
0000118C 3B5F FC7A move.w [A5 - 0x386], [A7]+
00001190 544F addq.w A7, 2
00001192 6612 bne +0x14 /* 000011A6 */
00001194 302E FF7A move.w D0, [A6 - 0x86]
00001198 48C0 ext.l D0
0000119A 2F00 move.l -[A7], D0
0000119C 486E FF7E pea.l [A6 - 0x82]
000011A0 4EBA 05C2 jsr [PC + 0x5C2 /* 00001764 */]
000011A4 504F addq.w A7, 8
label000011A6:
000011A6 486E FF7E pea.l [A6 - 0x82]
000011AA A9B1 syscall CreateResFile
000011AC 558F subq.l A7, 2
000011AE A9AF syscall ResError
000011B0 3B5F FC7A move.w [A5 - 0x386], [A7]+
label000011B4:
000011B4 4A6D FC7A tst.w [A5 - 0x386]
000011B8 6720 beq +0x22 /* 000011DA */
000011BA 302D FC7A move.w D0, [A5 - 0x386]
000011BE 48C0 ext.l D0
000011C0 2F00 move.l -[A7], D0
000011C2 4EBA FE20 jsr [PC - 0x1E0 /* 00000FE4 */]
000011C6 48C0 ext.l D0
000011C8 588F addq.l A7, 4
000011CA 2F00 move.l -[A7], D0
000011CC 486E FF7E pea.l [A6 - 0x82]
000011D0 4EBA F514 jsr [PC - 0xAEC /* 000006E6 */]
000011D4 504F addq.w A7, 8
000011D6 6000 02CC bra +0x2CE /* 000014A4 */
label000011DA:
000011DA 486E FFDE pea.l [A6 - 0x22]
000011DE 486E FFD8 pea.l [A6 - 0x28]
000011E2 486E FFDA pea.l [A6 - 0x26]
000011E6 A9F5 syscall GetAppParms
000011E8 598F subq.l A7, 4
000011EA 7004 moveq.l D0, 0x04
000011EC 3F00 move.w -[A7], D0
000011EE A9B9 syscall GetCursor
000011F0 205F movea.l A0, [A7]+
000011F2 2F10 move.l -[A7], [A0]
000011F4 A851 syscall SetCursor
000011F6 302E FF7A move.w D0, [A6 - 0x86]
000011FA 48C0 ext.l D0
000011FC 2F00 move.l -[A7], D0
000011FE 486E FF7E pea.l [A6 - 0x82]
00001202 302D FD96 move.w D0, [A5 - 0x26A]
00001206 48C0 ext.l D0
00001208 2F00 move.l -[A7], D0
0000120A 486E FFDE pea.l [A6 - 0x22]
0000120E 4EBA 03F2 jsr [PC + 0x3F2 /* 00001602 */]
00001212 3B40 FC7A move.w [A5 - 0x386], D0
00001216 4FEF 0010 lea.l A7, [A7 + 0x10]
0000121A 6736 beq +0x38 /* 00001252 */
0000121C 486D FE12 pea.l [A5 - 0x1EE]
00001220 A851 syscall SetCursor
00001222 558F subq.l A7, 2
00001224 486E FF7E pea.l [A6 - 0x82]
00001228 3F2E FF7A move.w -[A7], [A6 - 0x86]
0000122C 4EBA 18E6 jsr [PC + 0x18E6 /* 00002B14 */]
00001230 302D FC7A move.w D0, [A5 - 0x386]
00001234 48C0 ext.l D0
00001236 2F00 move.l -[A7], D0
00001238 4EBA FDAA jsr [PC - 0x256 /* 00000FE4 */]
0000123C 48C0 ext.l D0
0000123E 588F addq.l A7, 4
00001240 2F00 move.l -[A7], D0
00001242 486E FF7E pea.l [A6 - 0x82]
00001246 4EBA F49E jsr [PC - 0xB62 /* 000006E6 */]
0000124A 4FEF 000A lea.l A7, [A7 + 0xA]
0000124E 6000 0254 bra +0x256 /* 000014A4 */
label00001252:
00001252 558F subq.l A7, 2
00001254 598F subq.l A7, 4
00001256 486E FF7E pea.l [A6 - 0x82]
0000125A 4EBA 1CDA jsr [PC + 0x1CDA /* 00002F36 */]
0000125E A997 syscall OpenResFile
00001260 3E1F move.w D7, [A7]+
00001262 3F07 move.w -[A7], D7
00001264 A999 syscall UpdateResFile
00001266 3F07 move.w -[A7], D7
00001268 A998 syscall UseResFile
0000126A 48C7 ext.l D7
0000126C 2F07 move.l -[A7], D7
0000126E 4EBA 053A jsr [PC + 0x53A /* 000017AA */]
00001272 598F subq.l A7, 4
00001274 2F3C 5657 7374 move.l -[A7], 0x56577374 /* 'VWst' */
0000127A 7000 moveq.l D0, 0x00
0000127C 3F00 move.w -[A7], D0
0000127E A81F syscall Get1Resource
00001280 2D5F FFD2 move.l [A6 - 0x2E], [A7]+
00001284 584F addq.w A7, 4
00001286 6626 bne +0x28 /* 000012AE */
00001288 2D6D FD84 FFD2 move.l [A6 - 0x2E], [A5 - 0x27C]
0000128E 558F subq.l A7, 2
00001290 486E FFD2 pea.l [A6 - 0x2E]
00001294 4EBA 1A24 jsr [PC + 0x1A24 /* 00002CBA */]
00001298 2F2E FFD2 move.l -[A7], [A6 - 0x2E]
0000129C 2F3C 5657 7374 move.l -[A7], 0x56577374 /* 'VWst' */
000012A2 7000 moveq.l D0, 0x00
000012A4 3F00 move.w -[A7], D0
000012A6 486D FD9C pea.l [A5 - 0x264]
000012AA A9AB syscall AddResource
000012AC 544F addq.w A7, 2
label000012AE:
000012AE 206E FFD2 movea.l A0, [A6 - 0x2E]
000012B2 2050 movea.l A0, [A0]
000012B4 4268 0006 clr.w [A0 + 0x6]
000012B8 598F subq.l A7, 4
000012BA 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
000012C0 7000 moveq.l D0, 0x00
000012C2 3F00 move.w -[A7], D0
000012C4 A81F syscall Get1Resource
000012C6 285F movea.l A4, [A7]+
000012C8 200C move.l D0, A4
000012CA 6708 beq +0xA /* 000012D4 */
000012CC 204C movea.l A0, A4
000012CE 7002 moveq.l D0, 0x02
000012D0 A024 syscall SetHandleSize
000012D2 6018 bra +0x1A /* 000012EC */
label000012D4:
000012D4 7002 moveq.l D0, 0x02
000012D6 A122 syscall NewHandle, flags=1
000012D8 2848 movea.l A4, A0
000012DA 2F0C move.l -[A7], A4
000012DC 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
000012E2 7000 moveq.l D0, 0x00
000012E4 3F00 move.w -[A7], D0
000012E6 486D FD9E pea.l [A5 - 0x262]
000012EA A9AB syscall AddResource
label000012EC:
000012EC 2054 movea.l A0, [A4]
000012EE 4250 clr.w [A0]
label000012F0:
000012F0 2054 movea.l A0, [A4]
000012F2 5250 addq.w [A0], 1
000012F4 2F0B move.l -[A7], A3
000012F6 302E FF30 move.w D0, [A6 - 0xD0]
000012FA 48C0 ext.l D0
000012FC 2F00 move.l -[A7], D0
000012FE 4EBA 0864 jsr [PC + 0x864 /* 00001B64 */]
00001302 486E FF34 pea.l [A6 - 0xCC]
00001306 2F0B move.l -[A7], A3
00001308 4EBA 0826 jsr [PC + 0x826 /* 00001B30 */]
0000130C 204B movea.l A0, A3
0000130E 224C movea.l A1, A4
00001310 7000 moveq.l D0, 0x00
00001312 1013 move.b D0, [A3]
00001314 5240 addq.w D0, 1
00001316 48C0 ext.l D0
00001318 A9EF syscall PtrAndHand
0000131A 2F0C move.l -[A7], A4
0000131C A9AA syscall ChangedResource
0000131E 206D FD84 movea.l A0, [A5 - 0x27C]
00001322 2050 movea.l A0, [A0]
00001324 4A28 0004 tst.b [A0 + 0x4]
00001328 4FEF 0010 lea.l A7, [A7 + 0x10]
0000132C 6600 00D6 bne +0xD8 /* 00001404 */
00001330 598F subq.l A7, 4
00001332 7004 moveq.l D0, 0x04
00001334 3F00 move.w -[A7], D0
00001336 A9B9 syscall GetCursor
00001338 205F movea.l A0, [A7]+
0000133A 2F10 move.l -[A7], [A0]
0000133C A851 syscall SetCursor
0000133E 558F subq.l A7, 2
00001340 7000 moveq.l D0, 0x00
00001342 2F00 move.l -[A7], D0
00001344 3F2E FF30 move.w -[A7], [A6 - 0xD0]
00001348 4EBA 174C jsr [PC + 0x174C /* 00002A96 */]
0000134C 558F subq.l A7, 2
0000134E 598F subq.l A7, 4
00001350 486E FF34 pea.l [A6 - 0xCC]
00001354 4EBA 1BE0 jsr [PC + 0x1BE0 /* 00002F36 */]
00001358 A997 syscall OpenResFile
0000135A 3C1F move.w D6, [A7]+
0000135C 558F subq.l A7, 2
0000135E A9AF syscall ResError
00001360 3B5F FC7A move.w [A5 - 0x386], [A7]+
00001364 544F addq.w A7, 2
00001366 6720 beq +0x22 /* 00001388 */
00001368 302D FC7A move.w D0, [A5 - 0x386]
0000136C 48C0 ext.l D0
0000136E 2F00 move.l -[A7], D0
00001370 4EBA FC72 jsr [PC - 0x38E /* 00000FE4 */]
00001374 48C0 ext.l D0
00001376 588F addq.l A7, 4
00001378 2F00 move.l -[A7], D0
0000137A 486E FF34 pea.l [A6 - 0xCC]
0000137E 4EBA F366 jsr [PC - 0xC9A /* 000006E6 */]
00001382 504F addq.w A7, 8
00001384 6000 00D2 bra +0xD4 /* 00001458 */
label00001388:
00001388 4EBA 0544 jsr [PC + 0x544 /* 000018CE */]
0000138C 4A00 tst.b D0
0000138E 6702 beq +0x4 /* 00001392 */
00001390 7A01 moveq.l D5, 0x01
label00001392:
00001392 7001 moveq.l D0, 0x01
00001394 2F00 move.l -[A7], D0
00001396 322E FFD0 move.w D1, [A6 - 0x30]
0000139A 48C1 ext.l D1
0000139C 2F01 move.l -[A7], D1
0000139E 48C7 ext.l D7
000013A0 2F07 move.l -[A7], D7
000013A2 48C6 ext.l D6
000013A4 2F06 move.l -[A7], D6
000013A6 4EBA 0106 jsr [PC + 0x106 /* 000014AE */]
000013AA 558F subq.l A7, 2
000013AC A9AF syscall ResError
000013AE 3B5F FC7A move.w [A5 - 0x386], [A7]+
000013B2 4FEF 0010 lea.l A7, [A7 + 0x10]
000013B6 6722 beq +0x24 /* 000013DA */
000013B8 302D FC7A move.w D0, [A5 - 0x386]
000013BC 48C0 ext.l D0
000013BE 2F00 move.l -[A7], D0
000013C0 4EBA FC22 jsr [PC - 0x3DE /* 00000FE4 */]
000013C4 48C0 ext.l D0
000013C6 588F addq.l A7, 4
000013C8 2F00 move.l -[A7], D0
000013CA 486E FF7E pea.l [A6 - 0x82]
000013CE 4EBA F316 jsr [PC - 0xCEA /* 000006E6 */]
000013D2 504F addq.w A7, 8
label000013D4:
000013D4 3F06 move.w -[A7], D6
000013D6 A99A syscall CloseResFile
000013D8 607E bra +0x80 /* 00001458 */
label000013DA:
000013DA 3F06 move.w -[A7], D6
000013DC A99A syscall CloseResFile
000013DE 4A05 tst.b D5
000013E0 6750 beq +0x52 /* 00001432 */
000013E2 4A2E FFFF tst.b [A6 - 0x1]
000013E6 664A bne +0x4C /* 00001432 */
000013E8 7000 moveq.l D0, 0x00
000013EA 2F00 move.l -[A7], D0
000013EC 4878 34B8 push.l 0x34B8
000013F0 4EBA ECE8 jsr [PC - 0x1318 /* 000000DA */]
000013F4 0C40 0001 cmpi.w D0, 0x1
000013F8 504F addq.w A7, 8
000013FA 66D8 bne -0x26 /* 000013D4 */
000013FC 1D7C 0001 FFFF move.b [A6 - 0x1], 0x1
00001402 602E bra +0x30 /* 00001432 */
label00001404:
00001404 558F subq.l A7, 2
00001406 598F subq.l A7, 4
00001408 486E FF34 pea.l [A6 - 0xCC]
0000140C 4EBA 1B28 jsr [PC + 0x1B28 /* 00002F36 */]
00001410 3F2E FF30 move.w -[A7], [A6 - 0xD0]
00001414 7000 moveq.l D0, 0x00
00001416 1F00 move.b -[A7], D0
00001418 A9C4 syscall OpenRFPerm
0000141A 3C1F move.w D6, [A7]+
0000141C 558F subq.l A7, 2
0000141E A9AF syscall ResError
00001420 4A5F tst.w [A7]+
00001422 660E bne +0x10 /* 00001432 */
00001424 4EBA 04A8 jsr [PC + 0x4A8 /* 000018CE */]
00001428 4A00 tst.b D0
0000142A 6702 beq +0x4 /* 0000142E */
0000142C 7A01 moveq.l D5, 0x01
label0000142E:
0000142E 3F06 move.w -[A7], D6
00001430 A99A syscall CloseResFile
label00001432:
00001432 206E FFD2 movea.l A0, [A6 - 0x2E]
00001436 2050 movea.l A0, [A0]
00001438 5268 0006 addq.w [A0 + 0x6], 1
0000143C 2F2E FFD2 move.l -[A7], [A6 - 0x2E]
00001440 A9AA syscall ChangedResource
00001442 3F07 move.w -[A7], D7
00001444 A999 syscall UpdateResFile
00001446 7801 moveq.l D4, 0x01
00001448 066E 03E8 FFD0 addi.w [A6 - 0x30], 0x3E8
0000144E 486D FE12 pea.l [A5 - 0x1EE]
00001452 A851 syscall SetCursor
00001454 6000 FC5A bra -0x3A4 /* 000010B0 */
label00001458:
00001458 486D FE12 pea.l [A5 - 0x1EE]
0000145C A851 syscall SetCursor
0000145E 4A47 tst.w D7
00001460 6D3C blt +0x3E /* 0000149E */
00001462 4A05 tst.b D5
00001464 6624 bne +0x26 /* 0000148A */
00001466 3F07 move.w -[A7], D7
00001468 A998 syscall UseResFile
0000146A 4878 00C9 push.l 0xC9
0000146E 4EBA 03BC jsr [PC + 0x3BC /* 0000182C */]
00001472 206D FD84 movea.l A0, [A5 - 0x27C]
00001476 2050 movea.l A0, [A0]
00001478 4A28 0004 tst.b [A0 + 0x4]
0000147C 584F addq.w A7, 4
0000147E 660A bne +0xC /* 0000148A */
00001480 4878 00C8 push.l 0xC8
00001484 4EBA 03A6 jsr [PC + 0x3A6 /* 0000182C */]
00001488 584F addq.w A7, 4
label0000148A:
0000148A 3F07 move.w -[A7], D7
0000148C A99A syscall CloseResFile
0000148E 558F subq.l A7, 2
00001490 7000 moveq.l D0, 0x00
00001492 2F00 move.l -[A7], D0
00001494 3F2E FF7A move.w -[A7], [A6 - 0x86]
00001498 4EBA 161C jsr [PC + 0x161C /* 00002AB6 */]
0000149C 544F addq.w A7, 2
label0000149E:
0000149E 3F2E FFCE move.w -[A7], [A6 - 0x32]
000014A2 A998 syscall UseResFile
label000014A4:
000014A4 4CEE 18F0 FD0E movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x2F2]
000014AA 4E5E unlink A6
000014AC 4E75 rts
fn000014AE:
000014AE 4E56 FEF0 link A6, -0x0110
000014B2 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
000014B6 49EE FEFE lea.l A4, [A6 - 0x102]
000014BA 3F2E 000A move.w -[A7], [A6 + 0xA]
000014BE A998 syscall UseResFile
000014C0 558F subq.l A7, 2
000014C2 A9AF syscall ResError
000014C4 4A5F tst.w [A7]+
000014C6 6600 0130 bne +0x132 /* 000015F8 */
000014CA 558F subq.l A7, 2
000014CC A81C syscall Count1Types
000014CE 301F move.w D0, [A7]+
000014D0 48C0 ext.l D0
000014D2 2800 move.l D4, D0
000014D4 558F subq.l A7, 2
000014D6 A9AF syscall ResError
000014D8 4A5F tst.w [A7]+
000014DA 6600 011C bne +0x11E /* 000015F8 */
000014DE 4A2E 0017 tst.b [A6 + 0x17]
000014E2 672E beq +0x30 /* 00001512 */
000014E4 598F subq.l A7, 4
000014E6 2F3C 5657 4346 move.l -[A7], 0x56574346 /* 'VWCF' */
000014EC 7001 moveq.l D0, 0x01
000014EE 3F00 move.w -[A7], D0
000014F0 A80E syscall Get1IndResource/Get1IxResource
000014F2 2D5F FEF4 move.l [A6 - 0x10C], [A7]+
000014F6 558F subq.l A7, 2
000014F8 A9AF syscall ResError
000014FA 4A5F tst.w [A7]+
000014FC 6600 00FA bne +0xFC /* 000015F8 */
00001500 2F2E FEF4 move.l -[A7], [A6 - 0x10C]
00001504 486E FFFE pea.l [A6 - 0x2]
00001508 486E FEF8 pea.l [A6 - 0x108]
0000150C 2F0C move.l -[A7], A4
0000150E A9A8 syscall GetResInfo
00001510 6006 bra +0x8 /* 00001518 */
label00001512:
00001512 3D7C 0400 FFFE move.w [A6 - 0x2], 0x400
label00001518:
00001518 7A01 moveq.l D5, 0x01
0000151A 6000 00D6 bra +0xD8 /* 000015F2 */
label0000151E:
0000151E 3F2E 000A move.w -[A7], [A6 + 0xA]
00001522 A998 syscall UseResFile
00001524 486E FEF0 pea.l [A6 - 0x110]
00001528 3F05 move.w -[A7], D5
0000152A A80F syscall Get1IndType/Get1IxType
0000152C 558F subq.l A7, 2
0000152E 2F2E FEF0 move.l -[A7], [A6 - 0x110]
00001532 A80D syscall Count1Resources
00001534 301F move.w D0, [A7]+
00001536 48C0 ext.l D0
00001538 2C00 move.l D6, D0
0000153A 7E01 moveq.l D7, 0x01
0000153C 6000 00AA bra +0xAC /* 000015E8 */
label00001540:
00001540 3F2E 000A move.w -[A7], [A6 + 0xA]
00001544 A998 syscall UseResFile
00001546 598F subq.l A7, 4
00001548 2F2E FEF0 move.l -[A7], [A6 - 0x110]
0000154C 3F07 move.w -[A7], D7
0000154E A80E syscall Get1IndResource/Get1IxResource
00001550 2D5F FEF4 move.l [A6 - 0x10C], [A7]+
00001554 558F subq.l A7, 2
00001556 A9AF syscall ResError
00001558 4A5F tst.w [A7]+
0000155A 6600 009C bne +0x9E /* 000015F8 */
0000155E 2F2E FEF4 move.l -[A7], [A6 - 0x10C]
00001562 486E FEFC pea.l [A6 - 0x104]
00001566 486E FEF8 pea.l [A6 - 0x108]
0000156A 2F0C move.l -[A7], A4
0000156C A9A8 syscall GetResInfo
0000156E 0CAE 5354 5220 FEF8 cmpi.l [A6 - 0x108], 0x53545220 /* 'STR ' */
00001576 6610 bne +0x12 /* 00001588 */
00001578 0C6E BFF4 FEFC cmpi.w [A6 - 0x104], 0xBFF4
0000157E 6608 bne +0xA /* 00001588 */
00001580 2F2E FEF4 move.l -[A7], [A6 - 0x10C]
00001584 A9A3 syscall ReleaseResource
00001586 605C bra +0x5E /* 000015E4 */
label00001588:
00001588 4A2E 0017 tst.b [A6 + 0x17]
0000158C 6708 beq +0xA /* 00001596 */
0000158E 2F2E FEF4 move.l -[A7], [A6 - 0x10C]
00001592 A992 syscall DetachResource
00001594 600C bra +0xE /* 000015A2 */
label00001596:
00001596 558F subq.l A7, 2
00001598 486E FEF4 pea.l [A6 - 0x10C]
0000159C 4EBA 171C jsr [PC + 0x171C /* 00002CBA */]
000015A0 544F addq.w A7, 2
label000015A2:
000015A2 3F2E 000E move.w -[A7], [A6 + 0xE]
000015A6 A998 syscall UseResFile
000015A8 2F2E FEF4 move.l -[A7], [A6 - 0x10C]
000015AC 2F2E FEF0 move.l -[A7], [A6 - 0x110]
000015B0 302E FEFC move.w D0, [A6 - 0x104]
000015B4 48C0 ext.l D0
000015B6 322E FFFE move.w D1, [A6 - 0x2]
000015BA 48C1 ext.l D1
000015BC 9081 sub.l D0, D1
000015BE D0BC 0000 0400 add.l D0, 0x400
000015C4 322E 0012 move.w D1, [A6 + 0x12]
000015C8 D240 add.w D1, D0
000015CA 3F01 move.w -[A7], D1
000015CC 2F0C move.l -[A7], A4
000015CE A9AB syscall AddResource
000015D0 558F subq.l A7, 2
000015D2 A9AF syscall ResError
000015D4 4A5F tst.w [A7]+
000015D6 6620 bne +0x22 /* 000015F8 */
000015D8 2F2E FEF4 move.l -[A7], [A6 - 0x10C]
000015DC A9B0 syscall WriteResource
000015DE 2F2E FEF4 move.l -[A7], [A6 - 0x10C]
000015E2 A9A3 syscall ReleaseResource
label000015E4:
000015E4 2007 move.l D0, D7
000015E6 5287 addq.l D7, 1
label000015E8:
000015E8 BC87 cmp.l D6, D7
000015EA 6C00 FF54 bge -0xAA /* 00001540 */
000015EE 2005 move.l D0, D5
000015F0 5285 addq.l D5, 1
label000015F2:
000015F2 B885 cmp.l D4, D5
000015F4 6C00 FF28 bge -0xD6 /* 0000151E */
label000015F8:
000015F8 4CEE 10F0 FEDC movem.l D4,D5,D6,D7,A4, [A6 - 0x124]
000015FE 4E5E unlink A6
00001600 4E75 rts
fn00001602:
00001602 4E56 EFA6 link A6, -0x105A
00001606 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
0000160A 7C00 moveq.l D6, 0x00
0000160C 2E3C 0000 1000 move.l D7, 0x1000
00001612 49EE EFB0 lea.l A4, [A6 - 0x1050]
00001616 426E EFA6 clr.w [A6 - 0x105A]
0000161A 4245 clr.w D5
0000161C 7000 moveq.l D0, 0x00
0000161E 2D40 FFBC move.l [A6 - 0x44], D0
00001622 2D6E 0008 FFC2 move.l [A6 - 0x3E], [A6 + 0x8]
00001628 3D6E 000E FFC6 move.w [A6 - 0x3A], [A6 + 0xE]
0000162E 422E FFCA clr.b [A6 - 0x36]
00001632 1D7C 0001 FFCB move.b [A6 - 0x35], 0x1
00001638 2D40 FFCC move.l [A6 - 0x34], D0
0000163C 558F subq.l A7, 2
0000163E 486E FFB0 pea.l [A6 - 0x50]
00001642 7000 moveq.l D0, 0x00
00001644 1F00 move.b -[A7], D0
00001646 4EBA 1382 jsr [PC + 0x1382 /* 000029CA */]
0000164A 302E FFC0 move.w D0, [A6 - 0x40]
0000164E 48C0 ext.l D0
00001650 2C00 move.l D6, D0
00001652 544F addq.w A7, 2
00001654 6600 00DA bne +0xDC /* 00001730 */
00001658 3A2E FFC8 move.w D5, [A6 - 0x38]
0000165C 558F subq.l A7, 2
0000165E 2F2E 0010 move.l -[A7], [A6 + 0x10]
00001662 3F2E 0016 move.w -[A7], [A6 + 0x16]
00001666 486E EFA6 pea.l [A6 - 0x105A]
0000166A 4EBA 14CC jsr [PC + 0x14CC /* 00002B38 */]
0000166E 301F move.w D0, [A7]+
00001670 48C0 ext.l D0
00001672 2C00 move.l D6, D0
00001674 6708 beq +0xA /* 0000167E */
00001676 426E EFA6 clr.w [A6 - 0x105A]
0000167A 6000 00B4 bra +0xB6 /* 00001730 */
label0000167E:
0000167E 558F subq.l A7, 2
00001680 3F05 move.w -[A7], D5
00001682 486E EFA8 pea.l [A6 - 0x1058]
00001686 4EBA 1520 jsr [PC + 0x1520 /* 00002BA8 */]
0000168A 558F subq.l A7, 2
0000168C 3F2E EFA6 move.w -[A7], [A6 - 0x105A]
00001690 7001 moveq.l D0, 0x01
00001692 3F00 move.w -[A7], D0
00001694 7200 moveq.l D1, 0x00
00001696 2F01 move.l -[A7], D1
00001698 4EBA 1530 jsr [PC + 0x1530 /* 00002BCA */]
0000169C 203C 0000 4E20 move.l D0, 0x4E20 /* 'N ' */
000016A2 A11E syscall NewPtr, flags=1
000016A4 2648 movea.l A3, A0
000016A6 4A78 0220 tst.w [0x00000220 /* MemErr */]
000016AA 584F addq.w A7, 4
000016AC 660A bne +0xC /* 000016B8 */
000016AE 2E3C 0000 4E20 move.l D7, 0x4E20 /* 'N ' */
000016B4 284B movea.l A4, A3
000016B6 6072 bra +0x74 /* 0000172A */
label000016B8:
000016B8 7000 moveq.l D0, 0x00
000016BA 2640 movea.l A3, D0
000016BC 606C bra +0x6E /* 0000172A */
label000016BE:
000016BE BEAE EFA8 cmp.l D7, [A6 - 0x1058]
000016C2 6C32 bge +0x34 /* 000016F6 */
000016C4 2D47 EFAC move.l [A6 - 0x1054], D7
000016C8 558F subq.l A7, 2
000016CA 3F05 move.w -[A7], D5
000016CC 486E EFAC pea.l [A6 - 0x1054]
000016D0 2F0C move.l -[A7], A4
000016D2 4EBA 1322 jsr [PC + 0x1322 /* 000029F6 */]
000016D6 558F subq.l A7, 2
000016D8 3F2E EFA6 move.w -[A7], [A6 - 0x105A]
000016DC 486E EFAC pea.l [A6 - 0x1054]
000016E0 2F0C move.l -[A7], A4
000016E2 4EBA 1316 jsr [PC + 0x1316 /* 000029FA */]
000016E6 301F move.w D0, [A7]+
000016E8 48C0 ext.l D0
000016EA 2C00 move.l D6, D0
000016EC 544F addq.w A7, 2
000016EE 6640 bne +0x42 /* 00001730 */
000016F0 9FAE EFA8 sub.l [A6 - 0x1058], D7
000016F4 6034 bra +0x36 /* 0000172A */
label000016F6:
000016F6 2D6E EFA8 EFAC move.l [A6 - 0x1054], [A6 - 0x1058]
000016FC 558F subq.l A7, 2
000016FE 3F05 move.w -[A7], D5
00001700 486E EFAC pea.l [A6 - 0x1054]
00001704 2F0C move.l -[A7], A4
00001706 4EBA 12EE jsr [PC + 0x12EE /* 000029F6 */]
0000170A 558F subq.l A7, 2
0000170C 3F2E EFA6 move.w -[A7], [A6 - 0x105A]
00001710 486E EFAC pea.l [A6 - 0x1054]
00001714 2F0C move.l -[A7], A4
00001716 4EBA 12E2 jsr [PC + 0x12E2 /* 000029FA */]
0000171A 301F move.w D0, [A7]+
0000171C 48C0 ext.l D0
0000171E 2C00 move.l D6, D0
00001720 544F addq.w A7, 2
00001722 660C bne +0xE /* 00001730 */
00001724 7000 moveq.l D0, 0x00
00001726 2D40 EFA8 move.l [A6 - 0x1058], D0
label0000172A:
0000172A 4AAE EFA8 tst.l [A6 - 0x1058]
0000172E 6E8E bgt -0x70 /* 000016BE */
label00001730:
00001730 200B move.l D0, A3
00001732 6704 beq +0x6 /* 00001738 */
00001734 204B movea.l A0, A3
00001736 A01F syscall DisposPtr/DisposePtr
label00001738:
00001738 4A6E EFA6 tst.w [A6 - 0x105A]
0000173C 670C beq +0xE /* 0000174A */
0000173E 558F subq.l A7, 2
00001740 3F2E EFA6 move.w -[A7], [A6 - 0x105A]
00001744 4EBA 1296 jsr [PC + 0x1296 /* 000029DC */]
00001748 544F addq.w A7, 2
label0000174A:
0000174A 4A45 tst.w D5
0000174C 670A beq +0xC /* 00001758 */
0000174E 558F subq.l A7, 2
00001750 3F05 move.w -[A7], D5
00001752 4EBA 1288 jsr [PC + 0x1288 /* 000029DC */]
00001756 544F addq.w A7, 2
label00001758:
00001758 2006 move.l D0, D6
0000175A 4CEE 18E0 EF92 movem.l D5,D6,D7,A3,A4, [A6 - 0x106E]
00001760 4E5E unlink A6
00001762 4E75 rts
fn00001764:
00001764 4E56 FFF0 link A6, -0x0010
00001768 48E7 0108 movem.l -[A7], D7,A4
0000176C 3E2E 000E move.w D7, [A6 + 0xE]
00001770 286E 0008 movea.l A4, [A6 + 0x8]
00001774 558F subq.l A7, 2
00001776 2F0C move.l -[A7], A4
00001778 3F07 move.w -[A7], D7
0000177A 486E FFF0 pea.l [A6 - 0x10]
0000177E 4EBA 12BE jsr [PC + 0x12BE /* 00002A3E */]
00001782 7000 moveq.l D0, 0x00
00001784 302E FFF8 move.w D0, [A6 - 0x8]
00001788 323C 2000 move.w D1, 0x2000 /* ' \0' */
0000178C 8240 or.w D1, D0
0000178E 3D41 FFF8 move.w [A6 - 0x8], D1
00001792 558F subq.l A7, 2
00001794 2F0C move.l -[A7], A4
00001796 3F07 move.w -[A7], D7
00001798 486E FFF0 pea.l [A6 - 0x10]
0000179C 4EBA 13D0 jsr [PC + 0x13D0 /* 00002B6E */]
000017A0 4CEE 1080 FFE8 movem.l D7,A4, [A6 - 0x18]
000017A6 4E5E unlink A6
000017A8 4E75 rts
fn000017AA:
000017AA 4E56 FF00 link A6, -0x0100
000017AE 48E7 0118 movem.l -[A7], D7,A3,A4
000017B2 598F subq.l A7, 4
000017B4 2F3C 424E 444C move.l -[A7], 0x424E444C /* 'BNDL' */
000017BA 7000 moveq.l D0, 0x00
000017BC 3F00 move.w -[A7], D0
000017BE A9A0 syscall GetResource
000017C0 285F movea.l A4, [A7]+
000017C2 200C move.l D0, A4
000017C4 675C beq +0x5E /* 00001822 */
000017C6 558F subq.l A7, 2
000017C8 2F0C move.l -[A7], A4
000017CA A9A4 syscall HomeResFile
000017CC 301F move.w D0, [A7]+
000017CE B06E 000A cmp.w D0, [A6 + 0xA]
000017D2 664E bne +0x50 /* 00001822 */
000017D4 598F subq.l A7, 4
000017D6 2F0C move.l -[A7], A4
000017D8 4EBA 11D0 jsr [PC + 0x11D0 /* 000029AA */]
000017DC 2E1F move.l D7, [A7]+
000017DE 2054 movea.l A0, [A4]
000017E0 43EE FF00 lea.l A1, [A6 - 0x100]
000017E4 2007 move.l D0, D7
000017E6 A02E syscall BlockMove/BlockMoveData
000017E8 598F subq.l A7, 4
000017EA 2F3C 424E 444C move.l -[A7], 0x424E444C /* 'BNDL' */
000017F0 7002 moveq.l D0, 0x02
000017F2 3F00 move.w -[A7], D0
000017F4 A9A0 syscall GetResource
000017F6 265F movea.l A3, [A7]+
000017F8 200B move.l D0, A3
000017FA 6726 beq +0x28 /* 00001822 */
000017FC 598F subq.l A7, 4
000017FE 2F0B move.l -[A7], A3
00001800 4EBA 11A8 jsr [PC + 0x11A8 /* 000029AA */]
00001804 BE9F cmp.l D7, [A7]+
00001806 661A bne +0x1C /* 00001822 */
00001808 2053 movea.l A0, [A3]
0000180A 2254 movea.l A1, [A4]
0000180C 2007 move.l D0, D7
0000180E A02E syscall BlockMove/BlockMoveData
00001810 41EE FF00 lea.l A0, [A6 - 0x100]
00001814 2253 movea.l A1, [A3]
00001816 2007 move.l D0, D7
00001818 A02E syscall BlockMove/BlockMoveData
0000181A 2F0C move.l -[A7], A4
0000181C A9AA syscall ChangedResource
0000181E 2F0B move.l -[A7], A3
00001820 A9AA syscall ChangedResource
label00001822:
00001822 4CEE 1880 FEF4 movem.l D7,A3,A4, [A6 - 0x10C]
00001828 4E5E unlink A6
0000182A 4E75 rts
fn0000182C:
0000182C 4E56 FF00 link A6, -0x0100
00001830 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00001834 598F subq.l A7, 4
00001836 2F3C 524D 494E move.l -[A7], 0x524D494E /* 'RMIN' */
0000183C 3F2E 000A move.w -[A7], [A6 + 0xA]
00001840 A9A0 syscall GetResource
00001842 265F movea.l A3, [A7]+
00001844 598F subq.l A7, 4
00001846 2F0B move.l -[A7], A3
00001848 4EBA 1160 jsr [PC + 0x1160 /* 000029AA */]
0000184C 201F move.l D0, [A7]+
0000184E 7206 moveq.l D1, 0x06
00001850 4EBA 0F02 jsr [PC + 0xF02 /* 00002754 */]
00001854 2800 move.l D4, D0
00001856 7000 moveq.l D0, 0x00
00001858 1F00 move.b -[A7], D0
0000185A A99B syscall SetResLoad
0000185C 7E00 moveq.l D7, 0x00
0000185E 605A bra +0x5C /* 000018BA */
label00001860:
00001860 2053 movea.l A0, [A3]
00001862 2007 move.l D0, D7
00001864 D080 add.l D0, D0
00001866 2200 move.l D1, D0
00001868 D281 add.l D1, D1
0000186A D081 add.l D0, D1
0000186C 2A30 0800 move.l D5, [A0 + D0]
00001870 2053 movea.l A0, [A3]
00001872 2007 move.l D0, D7
00001874 D080 add.l D0, D0
00001876 2200 move.l D1, D0
00001878 D281 add.l D1, D1
0000187A D081 add.l D0, D1
0000187C 3C30 0804 move.w D6, [A0 + D0 + 0x4]
00001880 6C22 bge +0x24 /* 000018A4 */
00001882 486E FF00 pea.l [A6 - 0x100]
00001886 3F3C 1166 move.w -[A7], 0x1166
0000188A 48C6 ext.l D6
0000188C 2006 move.l D0, D6
0000188E 4480 neg.l D0
00001890 3F00 move.w -[A7], D0
00001892 4EBA 143C jsr [PC + 0x143C /* 00002CD0 */]
00001896 598F subq.l A7, 4
00001898 2F05 move.l -[A7], D5
0000189A 486E FF00 pea.l [A6 - 0x100]
0000189E A820 syscall Get1NamedResource
000018A0 285F movea.l A4, [A7]+
000018A2 600A bra +0xC /* 000018AE */
label000018A4:
000018A4 598F subq.l A7, 4
000018A6 2F05 move.l -[A7], D5
000018A8 3F06 move.w -[A7], D6
000018AA A81F syscall Get1Resource
000018AC 285F movea.l A4, [A7]+
label000018AE:
000018AE 200C move.l D0, A4
000018B0 6704 beq +0x6 /* 000018B6 */
000018B2 2F0C move.l -[A7], A4
000018B4 A9AD syscall RemoveResource/RmveResource
label000018B6:
000018B6 2007 move.l D0, D7
000018B8 5287 addq.l D7, 1
label000018BA:
000018BA B887 cmp.l D4, D7
000018BC 6EA2 bgt -0x5C /* 00001860 */
000018BE 7001 moveq.l D0, 0x01
000018C0 1F00 move.b -[A7], D0
000018C2 A99B syscall SetResLoad
000018C4 4CEE 18F0 FEE8 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x118]
000018CA 4E5E unlink A6
000018CC 4E75 rts
fn000018CE:
000018CE 4E56 0000 link A6, 0
000018D2 2F0C move.l -[A7], A4
000018D4 598F subq.l A7, 4
000018D6 2F3C 5657 4346 move.l -[A7], 0x56574346 /* 'VWCF' */
000018DC 7001 moveq.l D0, 0x01
000018DE 3F00 move.w -[A7], D0
000018E0 A80E syscall Get1IndResource/Get1IxResource
000018E2 285F movea.l A4, [A7]+
000018E4 200C move.l D0, A4
000018E6 6604 bne +0x6 /* 000018EC */
000018E8 7000 moveq.l D0, 0x00
000018EA 6020 bra +0x22 /* 0000190C */
label000018EC:
000018EC 2054 movea.l A0, [A4]
000018EE 701E moveq.l D0, 0x1E
000018F0 B050 cmp.w D0, [A0]
000018F2 6F12 ble +0x14 /* 00001906 */
000018F4 558F subq.l A7, 2
000018F6 2F3C 5657 4143 move.l -[A7], 0x56574143 /* 'VWAC' */
000018FC A80D syscall Count1Resources
000018FE 4A5F tst.w [A7]+
00001900 5EC0 sgt D0
00001902 4400 neg.b D0
00001904 6006 bra +0x8 /* 0000190C */
label00001906:
00001906 2054 movea.l A0, [A4]
00001908 1028 001F move.b D0, [A0 + 0x1F]
label0000190C:
0000190C 286E FFFC movea.l A4, [A6 - 0x4]
00001910 4E5E unlink A6
00001912 4E75 rts
fn00001914:
00001914 4E56 FEA2 link A6, -0x015E
00001918 48E7 0018 movem.l -[A7], A3,A4
0000191C 47EE FEA6 lea.l A3, [A6 - 0x15A]
00001920 49EE FFF0 lea.l A4, [A6 - 0x10]
00001924 426D FC7C clr.w [A5 - 0x384]
00001928 4A2D FD92 tst.b [A5 - 0x26E]
0000192C 671A beq +0x1C /* 00001948 */
0000192E 4A2D FD8E tst.b [A5 - 0x272]
00001932 660E bne +0x10 /* 00001942 */
00001934 2F2D FC70 move.l -[A7], [A5 - 0x390]
00001938 4EBA F2A2 jsr [PC - 0xD5E /* 00000BDC */]
0000193C 2F00 move.l -[A7], D0
0000193E 4EBA 0742 jsr [PC + 0x742 /* 00002082 */]
label00001942:
00001942 7001 moveq.l D0, 0x01
00001944 6000 011A bra +0x11C /* 00001A60 */
label00001948:
00001948 4EBA 03E0 jsr [PC + 0x3E0 /* 00001D2A */]
0000194C 4EBA 03D0 jsr [PC + 0x3D0 /* 00001D1E */]
00001950 A853 syscall ShowCursor
00001952 4213 clr.b [A3]
00001954 28BC 5657 5052 move.l [A4], 0x56575052 /* 'VWPR' */
0000195A 297C 5657 4D44 0004 move.l [A4 + 0x4], 0x56574D44 /* 'VWMD' */
00001962 297C 5657 4330 0008 move.l [A4 + 0x8], 0x56574330 /* 'VWC0' */
0000196A 7038 moveq.l D0, 0x38
0000196C 3F00 move.w -[A7], D0
0000196E 7200 moveq.l D1, 0x00
00001970 3F01 move.w -[A7], D1
00001972 201F move.l D0, [A7]+
00001974 A032 syscall FlushEvents
00001976 486E FEA2 pea.l [A6 - 0x15E]
0000197A 4878 0FA1 push.l 0xFA1
0000197E 4EBA E6DE jsr [PC - 0x1922 /* 0000005E */]
00001982 2F2E FEA2 move.l -[A7], [A6 - 0x15E]
00001986 2F0B move.l -[A7], A3
00001988 7000 moveq.l D0, 0x00
0000198A 2F00 move.l -[A7], D0
0000198C 7203 moveq.l D1, 0x03
0000198E 3F01 move.w -[A7], D1
00001990 2F0C move.l -[A7], A4
00001992 2F00 move.l -[A7], D0
00001994 486E FFA6 pea.l [A6 - 0x5A]
00001998 3F3C 0FA1 move.w -[A7], 0xFA1
0000199C 2F00 move.l -[A7], D0
0000199E 3F3C 0004 move.w -[A7], 0x4
000019A2 A9EA syscall Pack3
000019A4 4A2E FFA6 tst.b [A6 - 0x5A]
000019A8 504F addq.w A7, 8
000019AA 6606 bne +0x8 /* 000019B2 */
000019AC 7000 moveq.l D0, 0x00
000019AE 6000 00B0 bra +0xB2 /* 00001A60 */
label000019B2:
000019B2 486E FFAC pea.l [A6 - 0x54]
000019B6 486E FFB0 pea.l [A6 - 0x50]
000019BA 4EBA 02A2 jsr [PC + 0x2A2 /* 00001C5E */]
000019BE 1B40 FD8E move.b [A5 - 0x272], D0
000019C2 2F2D FC70 move.l -[A7], [A5 - 0x390]
000019C6 700A moveq.l D0, 0x0A
000019C8 3F00 move.w -[A7], D0
000019CA 7200 moveq.l D1, 0x00
000019CC 2F01 move.l -[A7], D1
000019CE 4EBA 08E4 jsr [PC + 0x8E4 /* 000022B4 */]
000019D2 4A2D FD8E tst.b [A5 - 0x272]
000019D6 504F addq.w A7, 8
000019D8 672A beq +0x2C /* 00001A04 */
000019DA 558F subq.l A7, 2
000019DC 2F2D FC70 move.l -[A7], [A5 - 0x390]
000019E0 486E FFB0 pea.l [A6 - 0x50]
000019E4 3F2E FFAC move.w -[A7], [A6 - 0x54]
000019E8 4EBA F1BC jsr [PC - 0xE44 /* 00000BA6 */]
000019EC 2F00 move.l -[A7], D0
000019EE 4EBA 059E jsr [PC + 0x59E /* 00001F8E */]
000019F2 558F subq.l A7, 2
000019F4 2F2D FC70 move.l -[A7], [A5 - 0x390]
000019F8 4EBA 081E jsr [PC + 0x81E /* 00002218 */]
000019FC 3B5F FC7C move.w [A5 - 0x384], [A7]+
00001A00 544F addq.w A7, 2
00001A02 6036 bra +0x38 /* 00001A3A */
label00001A04:
00001A04 558F subq.l A7, 2
00001A06 2F2D FC70 move.l -[A7], [A5 - 0x390]
00001A0A 486E FFB0 pea.l [A6 - 0x50]
00001A0E 3F2E FFAC move.w -[A7], [A6 - 0x54]
00001A12 4EBA F1C8 jsr [PC - 0xE38 /* 00000BDC */]
00001A16 2F00 move.l -[A7], D0
00001A18 4EBA 0574 jsr [PC + 0x574 /* 00001F8E */]
00001A1C 558F subq.l A7, 2
00001A1E 2F2D FC70 move.l -[A7], [A5 - 0x390]
00001A22 4EBA 07F4 jsr [PC + 0x7F4 /* 00002218 */]
00001A26 3B5F FC7C move.w [A5 - 0x384], [A7]+
00001A2A 544F addq.w A7, 2
00001A2C 660C bne +0xE /* 00001A3A */
00001A2E 2F2D FC70 move.l -[A7], [A5 - 0x390]
00001A32 7000 moveq.l D0, 0x00
00001A34 2F00 move.l -[A7], D0
00001A36 4EBA 064A jsr [PC + 0x64A /* 00002082 */]
label00001A3A:
00001A3A 4A6D FC7C tst.w [A5 - 0x384]
00001A3E 6714 beq +0x16 /* 00001A54 */
00001A40 302D FC7C move.w D0, [A5 - 0x384]
00001A44 48C0 ext.l D0
00001A46 2F00 move.l -[A7], D0
00001A48 486E FFB0 pea.l [A6 - 0x50]
00001A4C 4EBA EC98 jsr [PC - 0x1368 /* 000006E6 */]
00001A50 504F addq.w A7, 8
00001A52 600A bra +0xC /* 00001A5E */
label00001A54:
00001A54 206D FD84 movea.l A0, [A5 - 0x27C]
00001A58 2050 movea.l A0, [A0]
00001A5A 1B50 FD92 move.b [A5 - 0x26E], [A0]
label00001A5E:
00001A5E 7001 moveq.l D0, 0x01
label00001A60:
00001A60 4CEE 1800 FE9A movem.l A3,A4, [A6 - 0x166]
00001A66 4E5E unlink A6
00001A68 4E75 rts
fn00001A6A:
00001A6A 4E56 FE94 link A6, -0x016C
00001A6E 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00001A72 2C2E 0008 move.l D6, [A6 + 0x8]
00001A76 266E 000C movea.l A3, [A6 + 0xC]
00001A7A 49EE FE94 lea.l A4, [A6 - 0x16C]
00001A7E 4247 clr.w D7
00001A80 7000 moveq.l D0, 0x00
00001A82 2D40 FFF8 move.l [A6 - 0x8], D0
00001A86 6052 bra +0x54 /* 00001ADA */
label00001A88:
00001A88 7000 moveq.l D0, 0x00
00001A8A 2D40 FFA0 move.l [A6 - 0x60], D0
00001A8E 4214 clr.b [A4]
00001A90 2D4C FFA6 move.l [A6 - 0x5A], A4
00001A94 3D46 FFAA move.w [A6 - 0x56], D6
00001A98 3D7C FFFF FFB0 move.w [A6 - 0x50], 0xFFFF
00001A9E 2D6E FFF8 FFC4 move.l [A6 - 0x3C], [A6 - 0x8]
00001AA4 558F subq.l A7, 2
00001AA6 486E FF94 pea.l [A6 - 0x6C]
00001AAA 7000 moveq.l D0, 0x00
00001AAC 1F00 move.b -[A7], D0
00001AAE 4EBA 1140 jsr [PC + 0x1140 /* 00002BF0 */]
00001AB2 3E1F move.w D7, [A7]+
00001AB4 6624 bne +0x26 /* 00001ADA */
00001AB6 486D FDA0 pea.l [A5 - 0x260]
00001ABA 2F0C move.l -[A7], A4
00001ABC 4EBA 0072 jsr [PC + 0x72 /* 00001B30 */]
00001AC0 2F0B move.l -[A7], A3
00001AC2 2F0C move.l -[A7], A4
00001AC4 4EBA 006A jsr [PC + 0x6A /* 00001B30 */]
00001AC8 204C movea.l A0, A4
00001ACA 224B movea.l A1, A3
00001ACC 7000 moveq.l D0, 0x00
00001ACE 1014 move.b D0, [A4]
00001AD0 5240 addq.w D0, 1
00001AD2 48C0 ext.l D0
00001AD4 A02E syscall BlockMove/BlockMoveData
00001AD6 4FEF 0010 lea.l A7, [A7 + 0x10]
label00001ADA:
00001ADA 4A47 tst.w D7
00001ADC 67AA beq -0x54 /* 00001A88 */
00001ADE 4CEE 18C0 FE84 movem.l D6,D7,A3,A4, [A6 - 0x17C]
00001AE4 4E5E unlink A6
00001AE6 4E75 rts
fn00001AE8:
00001AE8 4E56 FFB0 link A6, -0x0050
00001AEC 48E7 0108 movem.l -[A7], D7,A4
00001AF0 286E 000C movea.l A4, [A6 + 0xC]
00001AF4 7000 moveq.l D0, 0x00
00001AF6 2D40 FFBC move.l [A6 - 0x44], D0
00001AFA 2D4C FFC2 move.l [A6 - 0x3E], A4
00001AFE 3D6E 000A FFC6 move.w [A6 - 0x3A], [A6 + 0xA]
00001B04 426E FFCC clr.w [A6 - 0x34]
00001B08 558F subq.l A7, 2
00001B0A 486E FFB0 pea.l [A6 - 0x50]
00001B0E 7000 moveq.l D0, 0x00
00001B10 1F00 move.b -[A7], D0
00001B12 4EBA 0EA4 jsr [PC + 0xEA4 /* 000029B8 */]
00001B16 3E1F move.w D7, [A7]+
00001B18 660C bne +0xE /* 00001B26 */
00001B1A 486D FDA4 pea.l [A5 - 0x25C]
00001B1E 2F0C move.l -[A7], A4
00001B20 4EBA 000E jsr [PC + 0xE /* 00001B30 */]
00001B24 504F addq.w A7, 8
label00001B26:
00001B26 4CEE 1080 FFA8 movem.l D7,A4, [A6 - 0x58]
00001B2C 4E5E unlink A6
00001B2E 4E75 rts
fn00001B30:
00001B30 4E56 0000 link A6, 0
00001B34 48E7 0018 movem.l -[A7], A3,A4
00001B38 266E 000C movea.l A3, [A6 + 0xC]
00001B3C 286E 0008 movea.l A4, [A6 + 0x8]
00001B40 204B movea.l A0, A3
00001B42 5288 addq.l A0, 1
00001B44 1014 move.b D0, [A4]
00001B46 4880 ext.w D0
00001B48 5240 addq.w D0, 1
00001B4A 43F4 0000 lea.l A1, [A4 + D0.w]
00001B4E 1013 move.b D0, [A3]
00001B50 4880 ext.w D0
00001B52 48C0 ext.l D0
00001B54 A02E syscall BlockMove/BlockMoveData
00001B56 1013 move.b D0, [A3]
00001B58 D114 add.b [A4], D0
00001B5A 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00001B60 4E5E unlink A6
00001B62 4E75 rts
fn00001B64:
00001B64 4E56 FF86 link A6, -0x007A
00001B68 48E7 0108 movem.l -[A7], D7,A4
00001B6C 286E 000C movea.l A4, [A6 + 0xC]
00001B70 2E2E 0008 move.l D7, [A6 + 0x8]
00001B74 4214 clr.b [A4]
00001B76 7000 moveq.l D0, 0x00
00001B78 2D40 FF92 move.l [A6 - 0x6E], D0
00001B7C 2D40 FF98 move.l [A6 - 0x68], D0
00001B80 3D47 FF9C move.w [A6 - 0x64], D7
00001B84 426E FFA2 clr.w [A6 - 0x5E]
00001B88 558F subq.l A7, 2
00001B8A 486E FF86 pea.l [A6 - 0x7A]
00001B8E 7000 moveq.l D0, 0x00
00001B90 1F00 move.b -[A7], D0
00001B92 4EBA 1072 jsr [PC + 0x1072 /* 00002C06 */]
00001B96 7000 moveq.l D0, 0x00
00001B98 302E FFC6 move.w D0, [A6 - 0x3A]
00001B9C 0C80 0000 D2D7 cmpi.l D0, 0xD2D7
00001BA2 544F addq.w A7, 2
00001BA4 660C bne +0xE /* 00001BB2 */
00001BA6 2F0C move.l -[A7], A4
00001BA8 2F07 move.l -[A7], D7
00001BAA 4EBA FF3C jsr [PC - 0xC4 /* 00001AE8 */]
00001BAE 504F addq.w A7, 8
00001BB0 600A bra +0xC /* 00001BBC */
label00001BB2:
00001BB2 2F0C move.l -[A7], A4
00001BB4 2F07 move.l -[A7], D7
00001BB6 4EBA FEB2 jsr [PC - 0x14E /* 00001A6A */]
00001BBA 504F addq.w A7, 8
label00001BBC:
00001BBC 4CEE 1080 FF7E movem.l D7,A4, [A6 - 0x82]
00001BC2 4E5E unlink A6
00001BC4 4E75 rts
fn00001BC6:
00001BC6 4E56 0000 link A6, 0
00001BCA 48E7 0708 movem.l -[A7], D5,D6,D7,A4
00001BCE 1A2E 000F move.b D5, [A6 + 0xF]
00001BD2 286E 0008 movea.l A4, [A6 + 0x8]
00001BD6 1014 move.b D0, [A4]
00001BD8 4880 ext.w D0
00001BDA 3C00 move.w D6, D0
00001BDC 524C addq.w A4, 1
00001BDE 3E06 move.w D7, D6
00001BE0 5347 subq.w D7, 1
00001BE2 4A47 tst.w D7
00001BE4 6D0E blt +0x10 /* 00001BF4 */
label00001BE6:
00001BE6 BA34 7000 cmp.b D5, [A4 + D7.w]
00001BEA 6604 bne +0x6 /* 00001BF0 */
00001BEC 3007 move.w D0, D7
00001BEE 6006 bra +0x8 /* 00001BF6 */
label00001BF0:
00001BF0 51CF FFF4 dbf D7, -0xE /* 00001BE6 */
label00001BF4:
00001BF4 70FF moveq.l D0, 0xFFFFFFFF
label00001BF6:
00001BF6 4CEE 10E0 FFF0 movem.l D5,D6,D7,A4, [A6 - 0x10]
00001BFC 4E5E unlink A6
00001BFE 4E75 rts
fn00001C00:
00001C00 4E56 0000 link A6, 0
00001C04 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00001C08 266E 000C movea.l A3, [A6 + 0xC]
00001C0C 286E 0008 movea.l A4, [A6 + 0x8]
00001C10 703A moveq.l D0, 0x3A
00001C12 2F00 move.l -[A7], D0
00001C14 2F0C move.l -[A7], A4
00001C16 4EBA FFAE jsr [PC - 0x52 /* 00001BC6 */]
00001C1A 3E00 move.w D7, D0
00001C1C 504F addq.w A7, 8
00001C1E 6C10 bge +0x12 /* 00001C30 */
00001C20 204C movea.l A0, A4
00001C22 224B movea.l A1, A3
00001C24 1014 move.b D0, [A4]
00001C26 4880 ext.w D0
00001C28 5240 addq.w D0, 1
00001C2A 48C0 ext.l D0
00001C2C A02E syscall BlockMove/BlockMoveData
00001C2E 6024 bra +0x26 /* 00001C54 */
label00001C30:
00001C30 5247 addq.w D7, 1
00001C32 200C move.l D0, A4
00001C34 5280 addq.l D0, 1
00001C36 48C7 ext.l D7
00001C38 D087 add.l D0, D7
00001C3A 2040 movea.l A0, D0
00001C3C 200B move.l D0, A3
00001C3E 5280 addq.l D0, 1
00001C40 2240 movea.l A1, D0
00001C42 1014 move.b D0, [A4]
00001C44 4880 ext.w D0
00001C46 48C0 ext.l D0
00001C48 48C7 ext.l D7
00001C4A 2C00 move.l D6, D0
00001C4C 9C87 sub.l D6, D7
00001C4E 2006 move.l D0, D6
00001C50 A02E syscall BlockMove/BlockMoveData
00001C52 1686 move.b [A3], D6
label00001C54:
00001C54 4CEE 18C0 FFF0 movem.l D6,D7,A3,A4, [A6 - 0x10]
00001C5A 4E5E unlink A6
00001C5C 4E75 rts
fn00001C5E:
00001C5E 4E56 FDEE link A6, -0x0212
00001C62 48E7 0118 movem.l -[A7], D7,A3,A4
00001C66 47EE FDFE lea.l A3, [A6 - 0x202]
00001C6A 286E 0008 movea.l A4, [A6 + 0x8]
00001C6E 2D7C 3030 3030 FDEE move.l [A6 - 0x212], 0x30303030 /* '0000' */
00001C76 558F subq.l A7, 2
00001C78 2F0C move.l -[A7], A4
00001C7A 206E 000C movea.l A0, [A6 + 0xC]
00001C7E 3F10 move.w -[A7], [A0]
00001C80 486E FDEE pea.l [A6 - 0x212]
00001C84 4EBA 0DB8 jsr [PC + 0xDB8 /* 00002A3E */]
00001C88 3E1F move.w D7, [A7]+
00001C8A 6748 beq +0x4A /* 00001CD4 */
00001C8C 2F0B move.l -[A7], A3
00001C8E 2F0C move.l -[A7], A4
00001C90 4EBA FF6E jsr [PC - 0x92 /* 00001C00 */]
00001C94 558F subq.l A7, 2
00001C96 486E FF00 pea.l [A6 - 0x100]
00001C9A 486E FEFE pea.l [A6 - 0x102]
00001C9E 4EBA 0DD4 jsr [PC + 0xDD4 /* 00002A74 */]
00001CA2 3E1F move.w D7, [A7]+
00001CA4 558F subq.l A7, 2
00001CA6 2F0B move.l -[A7], A3
00001CA8 3F2E FEFE move.w -[A7], [A6 - 0x102]
00001CAC 486E FDEE pea.l [A6 - 0x212]
00001CB0 4EBA 0D8C jsr [PC + 0xD8C /* 00002A3E */]
00001CB4 3E1F move.w D7, [A7]+
00001CB6 504F addq.w A7, 8
00001CB8 6704 beq +0x6 /* 00001CBE */
00001CBA 7001 moveq.l D0, 0x01
00001CBC 6056 bra +0x58 /* 00001D14 */
label00001CBE:
00001CBE 204B movea.l A0, A3
00001CC0 224C movea.l A1, A4
00001CC2 203C 0000 0100 move.l D0, 0x100
00001CC8 A02E syscall BlockMove/BlockMoveData
00001CCA 206E 000C movea.l A0, [A6 + 0xC]
00001CCE 30AE FEFE move.w [A0], [A6 - 0x102]
00001CD2 6008 bra +0xA /* 00001CDC */
label00001CD4:
00001CD4 4A47 tst.w D7
00001CD6 6704 beq +0x6 /* 00001CDC */
00001CD8 7001 moveq.l D0, 0x01
00001CDA 6038 bra +0x3A /* 00001D14 */
label00001CDC:
00001CDC 0CAE 5657 4D44 FDEE cmpi.l [A6 - 0x212], 0x56574D44 /* 'VWMD' */
00001CE4 6714 beq +0x16 /* 00001CFA */
00001CE6 0CAE 5657 5052 FDEE cmpi.l [A6 - 0x212], 0x56575052 /* 'VWPR' */
00001CEE 670A beq +0xC /* 00001CFA */
00001CF0 0CAE 3030 3030 FDEE cmpi.l [A6 - 0x212], 0x30303030 /* '0000' */
00001CF8 6604 bne +0x6 /* 00001CFE */
label00001CFA:
00001CFA 7001 moveq.l D0, 0x01
00001CFC 6016 bra +0x18 /* 00001D14 */
label00001CFE:
00001CFE 4A2D FC7E tst.b [A5 - 0x382]
00001D02 6604 bne +0x6 /* 00001D08 */
00001D04 7001 moveq.l D0, 0x01
00001D06 600C bra +0xE /* 00001D14 */
label00001D08:
00001D08 0CAE 5657 4330 FDEE cmpi.l [A6 - 0x212], 0x56574330 /* 'VWC0' */
00001D10 56C0 sne D0
00001D12 4400 neg.b D0
label00001D14:
00001D14 4CEE 1880 FDE2 movem.l D7,A3,A4, [A6 - 0x21E]
00001D1A 4E5E unlink A6
00001D1C 4E75 rts
fn00001D1E:
00001D1E 4E56 0000 link A6, 0
00001D22 4EBA 0006 jsr [PC + 0x6 /* 00001D2A */]
00001D26 4E5E unlink A6
00001D28 4E75 rts
fn00001D2A:
00001D2A 4E56 0000 link A6, 0
00001D2E 2F2D FC70 move.l -[A7], [A5 - 0x390]
00001D32 7000 moveq.l D0, 0x00
00001D34 2F00 move.l -[A7], D0
00001D36 4EBA 0316 jsr [PC + 0x316 /* 0000204E */]
00001D3A 2F2D FC70 move.l -[A7], [A5 - 0x390]
00001D3E 700A moveq.l D0, 0x0A
00001D40 3F00 move.w -[A7], D0
00001D42 7201 moveq.l D1, 0x01
00001D44 2F01 move.l -[A7], D1
00001D46 4EBA 056C jsr [PC + 0x56C /* 000022B4 */]
00001D4A 4E5E unlink A6
00001D4C 4E75 rts
fn00001D4E:
00001D4E 206F 0004 movea.l A0, [A7 + 0x4]
00001D52 2050 movea.l A0, [A0]
00001D54 2050 movea.l A0, [A0]
00001D56 4ED0 jmp [A0]
fn00001D58:
00001D58 4E56 0000 link A6, 0
00001D5C 48E7 0018 movem.l -[A7], A3,A4
00001D60 266E 0008 movea.l A3, [A6 + 0x8]
00001D64 200B move.l D0, A3
00001D66 6604 bne +0x6 /* 00001D6C */
00001D68 7000 moveq.l D0, 0x00
00001D6A 602A bra +0x2C /* 00001D96 */
label00001D6C:
00001D6C 2053 movea.l A0, [A3]
00001D6E 5268 0006 addq.w [A0 + 0x6], 1
00001D72 7010 moveq.l D0, 0x10
00001D74 A122 syscall NewHandle, flags=1
00001D76 2848 movea.l A4, A0
00001D78 200C move.l D0, A4
00001D7A 6718 beq +0x1A /* 00001D94 */
00001D7C 2054 movea.l A0, [A4]
00001D7E 214B 0004 move.l [A0 + 0x4], A3
00001D82 2054 movea.l A0, [A4]
00001D84 7000 moveq.l D0, 0x00
00001D86 2080 move.l [A0], D0
00001D88 2054 movea.l A0, [A4]
00001D8A 2140 0008 move.l [A0 + 0x8], D0
00001D8E 2054 movea.l A0, [A4]
00001D90 2140 000C move.l [A0 + 0xC], D0
label00001D94:
00001D94 200C move.l D0, A4
label00001D96:
00001D96 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00001D9C 4E5E unlink A6
00001D9E 4E75 rts
fn00001DA0:
00001DA0 4E56 0000 link A6, 0
00001DA4 2F0C move.l -[A7], A4
00001DA6 286E 0008 movea.l A4, [A6 + 0x8]
00001DAA 200C move.l D0, A4
00001DAC 6706 beq +0x8 /* 00001DB4 */
00001DAE 2054 movea.l A0, [A4]
00001DB0 5368 0006 subq.w [A0 + 0x6], 1
label00001DB4:
00001DB4 286E FFFC movea.l A4, [A6 - 0x4]
00001DB8 4E5E unlink A6
00001DBA 4E75 rts
fn00001DBC:
00001DBC 4E56 0000 link A6, 0
00001DC0 48E7 0018 movem.l -[A7], A3,A4
00001DC4 266E 0008 movea.l A3, [A6 + 0x8]
00001DC8 2053 movea.l A0, [A3]
00001DCA 2868 0004 movea.l A4, [A0 + 0x4]
00001DCE 200C move.l D0, A4
00001DD0 6714 beq +0x16 /* 00001DE6 */
00001DD2 204C movea.l A0, A4
00001DD4 A064 syscall MoveHHi
00001DD6 204C movea.l A0, A4
00001DD8 A029 syscall HLock
00001DDA 598F subq.l A7, 4
00001DDC 2F14 move.l -[A7], [A4]
00001DDE 4EBA 1156 jsr [PC + 0x1156 /* 00002F36 */]
00001DE2 2053 movea.l A0, [A3]
00001DE4 209F move.l [A0], [A7]+
label00001DE6:
00001DE6 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00001DEC 4E5E unlink A6
00001DEE 4E75 rts
fn00001DF0:
00001DF0 4E56 FFFC link A6, -0x0004
00001DF4 48E7 0018 movem.l -[A7], A3,A4
00001DF8 598F subq.l A7, 4
00001DFA 2F3C 4F56 5744 move.l -[A7], 0x4F565744 /* 'OVWD' */
00001E00 3F3C 00C8 move.w -[A7], 0xC8
00001E04 A9A0 syscall GetResource
00001E06 265F movea.l A3, [A7]+
00001E08 200B move.l D0, A3
00001E0A 6604 bne +0x6 /* 00001E10 */
00001E0C 7000 moveq.l D0, 0x00
00001E0E 604A bra +0x4C /* 00001E5A */
label00001E10:
00001E10 2853 movea.l A4, [A3]
00001E12 0C6C 8000 0008 cmpi.w [A4 + 0x8], 0x8000
00001E18 6D08 blt +0xA /* 00001E22 */
00001E1A 0C6C 800A 0008 cmpi.w [A4 + 0x8], 0x800A
00001E20 6F04 ble +0x6 /* 00001E26 */
label00001E22:
00001E22 7000 moveq.l D0, 0x00
00001E24 6034 bra +0x36 /* 00001E5A */
label00001E26:
00001E26 598F subq.l A7, 4
00001E28 2F3C 4F56 5744 move.l -[A7], 0x4F565744 /* 'OVWD' */
00001E2E 7066 moveq.l D0, 0x66
00001E30 3F00 move.w -[A7], D0
00001E32 A9A0 syscall GetResource
00001E34 4EBA FF22 jsr [PC - 0xDE /* 00001D58 */]
00001E38 2D40 FFFC move.l [A6 - 0x4], D0
00001E3C 6604 bne +0x6 /* 00001E42 */
00001E3E 7000 moveq.l D0, 0x00
00001E40 6018 bra +0x1A /* 00001E5A */
label00001E42:
00001E42 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001E46 4EBA FF74 jsr [PC - 0x8C /* 00001DBC */]
00001E4A 2853 movea.l A4, [A3]
00001E4C 4A94 tst.l [A4]
00001E4E 6606 bne +0x8 /* 00001E56 */
00001E50 7000 moveq.l D0, 0x00
00001E52 2940 0014 move.l [A4 + 0x14], D0
label00001E56:
00001E56 202E FFFC move.l D0, [A6 - 0x4]
label00001E5A:
00001E5A 4CEE 1800 FFF4 movem.l A3,A4, [A6 - 0xC]
00001E60 4E5E unlink A6
00001E62 4E75 rts
fn00001E64:
00001E64 4E56 0000 link A6, 0
00001E68 48E7 0018 movem.l -[A7], A3,A4
00001E6C 598F subq.l A7, 4
00001E6E 2F3C 4F56 5744 move.l -[A7], 0x4F565744 /* 'OVWD' */
00001E74 3F3C 00C8 move.w -[A7], 0xC8
00001E78 A9A0 syscall GetResource
00001E7A 265F movea.l A3, [A7]+
00001E7C 200B move.l D0, A3
00001E7E 6720 beq +0x22 /* 00001EA0 */
00001E80 2853 movea.l A4, [A3]
00001E82 266C 0014 movea.l A3, [A4 + 0x14]
00001E86 7000 moveq.l D0, 0x00
00001E88 2940 0014 move.l [A4 + 0x14], D0
00001E8C 2880 move.l [A4], D0
00001E8E 220B move.l D1, A3
00001E90 6704 beq +0x6 /* 00001E96 */
00001E92 2F0B move.l -[A7], A3
00001E94 A8D9 syscall DisposRgn/DisposeRgn
label00001E96:
00001E96 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001E9A 4EBA FF04 jsr [PC - 0xFC /* 00001DA0 */]
00001E9E 584F addq.w A7, 4
label00001EA0:
00001EA0 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00001EA6 4E5E unlink A6
00001EA8 4E75 rts
export_4:
00001EAA 4E56 0000 link A6, 0
00001EAE 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00001EB2 266E 0008 movea.l A3, [A6 + 0x8]
00001EB6 4207 clr.b D7
00001EB8 4206 clr.b D6
00001EBA 4EBA FF34 jsr [PC - 0xCC /* 00001DF0 */]
00001EBE 2840 movea.l A4, D0
00001EC0 200C move.l D0, A4
00001EC2 660C bne +0xE /* 00001ED0 */
00001EC4 36BC 0064 move.w [A3], 0x64 /* 'd' */
00001EC8 7000 moveq.l D0, 0x00
00001ECA 2D40 0014 move.l [A6 + 0x14], D0
00001ECE 606A bra +0x6C /* 00001F3A */
label00001ED0:
00001ED0 202E 000C move.l D0, [A6 + 0xC]
00001ED4 0800 0000 btst.b D0, 0x0
00001ED8 6702 beq +0x4 /* 00001EDC */
00001EDA 7E01 moveq.l D7, 0x01
label00001EDC:
00001EDC 598F subq.l A7, 4
00001EDE 7000 moveq.l D0, 0x00
00001EE0 2F00 move.l -[A7], D0
00001EE2 2F0C move.l -[A7], A4
00001EE4 4EBA FE68 jsr [PC - 0x198 /* 00001D4E */]
00001EE8 4A9F tst.l [A7]+
00001EEA 663A bne +0x3C /* 00001F26 */
00001EEC 7001 moveq.l D0, 0x01
00001EEE 1F00 move.b -[A7], D0
00001EF0 2F2E 0010 move.l -[A7], [A6 + 0x10]
00001EF4 1F00 move.b -[A7], D0
00001EF6 1F07 move.b -[A7], D7
00001EF8 1F00 move.b -[A7], D0
00001EFA 1F00 move.b -[A7], D0
00001EFC 1F06 move.b -[A7], D6
00001EFE 4878 0280 push.l 0x280
00001F02 2F0C move.l -[A7], A4
00001F04 4EBA FE48 jsr [PC - 0x1B8 /* 00001D4E */]
00001F08 558F subq.l A7, 2
00001F0A 2F0C move.l -[A7], A4
00001F0C 4EBA 030A jsr [PC + 0x30A /* 00002218 */]
00001F10 369F move.w [A3], [A7]+
00001F12 6722 beq +0x24 /* 00001F36 */
00001F14 2F0C move.l -[A7], A4
00001F16 7000 moveq.l D0, 0x00
00001F18 2F00 move.l -[A7], D0
00001F1A 4EBA 002E jsr [PC + 0x2E /* 00001F4A */]
00001F1E 7000 moveq.l D0, 0x00
00001F20 2D40 0014 move.l [A6 + 0x14], D0
00001F24 6014 bra +0x16 /* 00001F3A */
label00001F26:
00001F26 36BC FFFF move.w [A3], 0xFFFF
00001F2A 204C movea.l A0, A4
00001F2C A023 syscall DisposHandle/DisposeHandle
00001F2E 7000 moveq.l D0, 0x00
00001F30 2D40 0014 move.l [A6 + 0x14], D0
00001F34 6004 bra +0x6 /* 00001F3A */
label00001F36:
00001F36 2D4C 0014 move.l [A6 + 0x14], A4
label00001F3A:
00001F3A 4CEE 18C0 FFF0 movem.l D6,D7,A3,A4, [A6 - 0x10]
00001F40 4E5E unlink A6
00001F42 205F movea.l A0, [A7]+
00001F44 4FEF 000C lea.l A7, [A7 + 0xC]
00001F48 4ED0 jmp [A0]
export_5:
fn00001F4A:
00001F4A 4E56 0000 link A6, 0
00001F4E 48E7 0018 movem.l -[A7], A3,A4
00001F52 286E 000C movea.l A4, [A6 + 0xC]
00001F56 200C move.l D0, A4
00001F58 6726 beq +0x28 /* 00001F80 */
00001F5A 7002 moveq.l D0, 0x02
00001F5C C0AE 0008 and.l D0, [A6 + 0x8]
00001F60 6706 beq +0x8 /* 00001F68 */
00001F62 2F0C move.l -[A7], A4
00001F64 4EBA 0272 jsr [PC + 0x272 /* 000021D8 */]
label00001F68:
00001F68 2054 movea.l A0, [A4]
00001F6A 2668 0004 movea.l A3, [A0 + 0x4]
00001F6E 4878 0100 push.l 0x100
00001F72 2F0C move.l -[A7], A4
00001F74 4EBA FDD8 jsr [PC - 0x228 /* 00001D4E */]
00001F78 2F0B move.l -[A7], A3
00001F7A 4EBA FEE8 jsr [PC - 0x118 /* 00001E64 */]
00001F7E 584F addq.w A7, 4
label00001F80:
00001F80 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00001F86 4E5E unlink A6
00001F88 205F movea.l A0, [A7]+
00001F8A 504F addq.w A7, 8
00001F8C 4ED0 jmp [A0]
fn00001F8E:
00001F8E 4E56 0000 link A6, 0
00001F92 48E7 0108 movem.l -[A7], D7,A4
00001F96 286E 0012 movea.l A4, [A6 + 0x12]
00001F9A 598F subq.l A7, 4
00001F9C 2F2E 000E move.l -[A7], [A6 + 0xE]
00001FA0 3F2E 000C move.w -[A7], [A6 + 0xC]
00001FA4 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001FA8 4878 0780 push.l 0x780
00001FAC 2F0C move.l -[A7], A4
00001FAE 4EBA FD9E jsr [PC - 0x262 /* 00001D4E */]
00001FB2 2E1F move.l D7, [A7]+
00001FB4 6606 bne +0x8 /* 00001FBC */
00001FB6 422E 0016 clr.b [A6 + 0x16]
00001FBA 6020 bra +0x22 /* 00001FDC */
label00001FBC:
00001FBC 4A87 tst.l D7
00001FBE 6F16 ble +0x18 /* 00001FD6 */
00001FC0 2F07 move.l -[A7], D7
00001FC2 7000 moveq.l D0, 0x00
00001FC4 2F00 move.l -[A7], D0
00001FC6 4878 0D80 push.l 0xD80
00001FCA 2F0C move.l -[A7], A4
00001FCC 4EBA FD80 jsr [PC - 0x280 /* 00001D4E */]
00001FD0 422E 0016 clr.b [A6 + 0x16]
00001FD4 6006 bra +0x8 /* 00001FDC */
label00001FD6:
00001FD6 1D7C 0001 0016 move.b [A6 + 0x16], 0x1
label00001FDC:
00001FDC 4CEE 1080 FFF8 movem.l D7,A4, [A6 - 0x8]
00001FE2 4E5E unlink A6
00001FE4 205F movea.l A0, [A7]+
00001FE6 4FEF 000E lea.l A7, [A7 + 0xE]
00001FEA 4ED0 jmp [A0]
fn00001FEC:
00001FEC 4E56 0000 link A6, 0
00001FF0 598F subq.l A7, 4
00001FF2 2F3C 5657 4D44 move.l -[A7], 0x56574D44 /* 'VWMD' */
00001FF8 302E 000C move.w D0, [A6 + 0xC]
00001FFC 48C0 ext.l D0
00001FFE 2F00 move.l -[A7], D0
00002000 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002004 4878 0680 push.l 0x680
00002008 2F2E 000E move.l -[A7], [A6 + 0xE]
0000200C 4EBA FD40 jsr [PC - 0x2C0 /* 00001D4E */]
00002010 4A9F tst.l [A7]+
00002012 56C0 sne D0
00002014 0240 0001 andi.w D0, 0x1
00002018 48C0 ext.l D0
0000201A 1D40 0012 move.b [A6 + 0x12], D0
0000201E 4E5E unlink A6
00002020 205F movea.l A0, [A7]+
00002022 4FEF 000A lea.l A7, [A7 + 0xA]
00002026 4ED0 jmp [A0]
fn00002028:
00002028 4E56 0000 link A6, 0
0000202C 598F subq.l A7, 4
0000202E 7000 moveq.l D0, 0x00
00002030 2F00 move.l -[A7], D0
00002032 7215 moveq.l D1, 0x15
00002034 2F01 move.l -[A7], D1
00002036 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000203A 4878 0C80 push.l 0xC80
0000203E 2F2E 000C move.l -[A7], [A6 + 0xC]
00002042 4EBA FD0A jsr [PC - 0x2F6 /* 00001D4E */]
00002046 4E5E unlink A6
00002048 205F movea.l A0, [A7]+
0000204A 504F addq.w A7, 8
0000204C 4ED0 jmp [A0]
fn0000204E:
0000204E 4E56 0000 link A6, 0
00002052 48E7 0300 movem.l -[A7], D6,D7
00002056 2C2E 0008 move.l D6, [A6 + 0x8]
0000205A 7EFC moveq.l D7, 0xFFFFFFFC
0000205C 0806 0000 btst.b D6, 0x0
00002060 6702 beq +0x4 /* 00002064 */
00002062 7E00 moveq.l D7, 0x00
label00002064:
00002064 2F07 move.l -[A7], D7
00002066 2F06 move.l -[A7], D6
00002068 4878 0D80 push.l 0xD80
0000206C 2F2E 000C move.l -[A7], [A6 + 0xC]
00002070 4EBA FCDC jsr [PC - 0x324 /* 00001D4E */]
00002074 4CEE 00C0 FFF8 movem.l D6,D7, [A6 - 0x8]
0000207A 4E5E unlink A6
0000207C 205F movea.l A0, [A7]+
0000207E 504F addq.w A7, 8
00002080 4ED0 jmp [A0]
fn00002082:
00002082 4E56 0000 link A6, 0
00002086 70FC moveq.l D0, 0xFFFFFFFC
00002088 2F00 move.l -[A7], D0
0000208A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000208E 4878 0880 push.l 0x880
00002092 2F2E 000C move.l -[A7], [A6 + 0xC]
00002096 4EBA FCB6 jsr [PC - 0x34A /* 00001D4E */]
0000209A 4E5E unlink A6
0000209C 205F movea.l A0, [A7]+
0000209E 504F addq.w A7, 8
000020A0 4ED0 jmp [A0]
fn000020A2:
000020A2 4E56 0000 link A6, 0
000020A6 70FC moveq.l D0, 0xFFFFFFFC
000020A8 2F00 move.l -[A7], D0
000020AA 2F2E 0008 move.l -[A7], [A6 + 0x8]
000020AE 4878 0980 push.l 0x980
000020B2 2F2E 000C move.l -[A7], [A6 + 0xC]
000020B6 4EBA FC96 jsr [PC - 0x36A /* 00001D4E */]
000020BA 4E5E unlink A6
000020BC 205F movea.l A0, [A7]+
000020BE 504F addq.w A7, 8
000020C0 4ED0 jmp [A0]
fn000020C2:
000020C2 4E56 0000 link A6, 0
000020C6 598F subq.l A7, 4
000020C8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000020CC 70FC moveq.l D0, 0xFFFFFFFC
000020CE 2F00 move.l -[A7], D0
000020D0 7220 moveq.l D1, 0x20
000020D2 2F01 move.l -[A7], D1
000020D4 4EBA 00B4 jsr [PC + 0xB4 /* 0000218A */]
000020D8 201F move.l D0, [A7]+
000020DA 1D40 000C move.b [A6 + 0xC], D0
000020DE 4E5E unlink A6
000020E0 2E9F move.l [A7], [A7]+
000020E2 4E75 rts
fn000020E4:
000020E4 4E56 0000 link A6, 0
000020E8 2F2E 000A move.l -[A7], [A6 + 0xA]
000020EC 70FC moveq.l D0, 0xFFFFFFFC
000020EE 2F00 move.l -[A7], D0
000020F0 7207 moveq.l D1, 0x07
000020F2 2F01 move.l -[A7], D1
000020F4 7400 moveq.l D2, 0x00
000020F6 142E 0008 move.b D2, [A6 + 0x8]
000020FA 2F02 move.l -[A7], D2
000020FC 4EBA 00B4 jsr [PC + 0xB4 /* 000021B2 */]
00002100 4E5E unlink A6
00002102 205F movea.l A0, [A7]+
00002104 5C4F addq.w A7, 6
00002106 4ED0 jmp [A0]
fn00002108:
00002108 4E56 0000 link A6, 0
0000210C 598F subq.l A7, 4
0000210E 70FC moveq.l D0, 0xFFFFFFFC
00002110 2F00 move.l -[A7], D0
00002112 7216 moveq.l D1, 0x16
00002114 2F01 move.l -[A7], D1
00002116 7000 moveq.l D0, 0x00
00002118 2F00 move.l -[A7], D0
0000211A 4878 0C80 push.l 0xC80
0000211E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002122 4EBA FC2A jsr [PC - 0x3D6 /* 00001D4E */]
00002126 201F move.l D0, [A7]+
00002128 1D40 000C move.b [A6 + 0xC], D0
0000212C 4E5E unlink A6
0000212E 2E9F move.l [A7], [A7]+
00002130 4E75 rts
export_6:
00002132 4E56 0000 link A6, 0
00002136 48E7 0018 movem.l -[A7], A3,A4
0000213A 266E 0014 movea.l A3, [A6 + 0x14]
0000213E 598F subq.l A7, 4
00002140 2F0B move.l -[A7], A3
00002142 7000 moveq.l D0, 0x00
00002144 2F00 move.l -[A7], D0
00002146 7203 moveq.l D1, 0x03
00002148 2F01 move.l -[A7], D1
0000214A 4EBA 003E jsr [PC + 0x3E /* 0000218A */]
0000214E 206E 0010 movea.l A0, [A6 + 0x10]
00002152 209F move.l [A0], [A7]+
00002154 598F subq.l A7, 4
00002156 2F0B move.l -[A7], A3
00002158 7000 moveq.l D0, 0x00
0000215A 2F00 move.l -[A7], D0
0000215C 7208 moveq.l D1, 0x08
0000215E 2F01 move.l -[A7], D1
00002160 4EBA 0028 jsr [PC + 0x28 /* 0000218A */]
00002164 285F movea.l A4, [A7]+
00002166 2054 movea.l A0, [A4]
00002168 226E 000C movea.l A1, [A6 + 0xC]
0000216C 22D8 move.l [A1]+, [A0]+
0000216E 22D8 move.l [A1]+, [A0]+
00002170 204C movea.l A0, A4
00002172 A023 syscall DisposHandle/DisposeHandle
00002174 1D7C 0001 0018 move.b [A6 + 0x18], 0x1
0000217A 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00002180 4E5E unlink A6
00002182 205F movea.l A0, [A7]+
00002184 4FEF 0010 lea.l A7, [A7 + 0x10]
00002188 4ED0 jmp [A0]
export_7:
fn0000218A:
0000218A 4E56 0000 link A6, 0
0000218E 598F subq.l A7, 4
00002190 2F2E 000C move.l -[A7], [A6 + 0xC]
00002194 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002198 4878 0A80 push.l 0xA80
0000219C 2F2E 0010 move.l -[A7], [A6 + 0x10]
000021A0 4EBA FBAC jsr [PC - 0x454 /* 00001D4E */]
000021A4 2D5F 0014 move.l [A6 + 0x14], [A7]+
000021A8 4E5E unlink A6
000021AA 205F movea.l A0, [A7]+
000021AC 4FEF 000C lea.l A7, [A7 + 0xC]
000021B0 4ED0 jmp [A0]
fn000021B2:
000021B2 4E56 0000 link A6, 0
000021B6 2F2E 0010 move.l -[A7], [A6 + 0x10]
000021BA 2F2E 000C move.l -[A7], [A6 + 0xC]
000021BE 2F2E 0008 move.l -[A7], [A6 + 0x8]
000021C2 4878 0B80 push.l 0xB80
000021C6 2F2E 0014 move.l -[A7], [A6 + 0x14]
000021CA 4EBA FB82 jsr [PC - 0x47E /* 00001D4E */]
000021CE 4E5E unlink A6
000021D0 205F movea.l A0, [A7]+
000021D2 4FEF 0010 lea.l A7, [A7 + 0x10]
000021D6 4ED0 jmp [A0]
fn000021D8:
000021D8 4E56 0000 link A6, 0
000021DC 2F2E 0008 move.l -[A7], [A6 + 0x8]
000021E0 7000 moveq.l D0, 0x00
000021E2 2F00 move.l -[A7], D0
000021E4 7206 moveq.l D1, 0x06
000021E6 2F01 move.l -[A7], D1
000021E8 2F00 move.l -[A7], D0
000021EA 4EBA FFC6 jsr [PC - 0x3A /* 000021B2 */]
000021EE 4E5E unlink A6
000021F0 2E9F move.l [A7], [A7]+
000021F2 4E75 rts
export_8:
fn000021F4:
000021F4 4E56 0000 link A6, 0
000021F8 2F2E 000A move.l -[A7], [A6 + 0xA]
000021FC 70FC moveq.l D0, 0xFFFFFFFC
000021FE 2F00 move.l -[A7], D0
00002200 7205 moveq.l D1, 0x05
00002202 2F01 move.l -[A7], D1
00002204 7400 moveq.l D2, 0x00
00002206 142E 0008 move.b D2, [A6 + 0x8]
0000220A 2F02 move.l -[A7], D2
0000220C 4EBA FFA4 jsr [PC - 0x5C /* 000021B2 */]
00002210 4E5E unlink A6
00002212 205F movea.l A0, [A7]+
00002214 5C4F addq.w A7, 6
00002216 4ED0 jmp [A0]
fn00002218:
00002218 4E56 0000 link A6, 0
0000221C 558F subq.l A7, 2
0000221E 4878 0E80 push.l 0xE80
00002222 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002226 4EBA FB26 jsr [PC - 0x4DA /* 00001D4E */]
0000222A 3D5F 000C move.w [A6 + 0xC], [A7]+
0000222E 4E5E unlink A6
00002230 2E9F move.l [A7], [A7]+
00002232 4E75 rts
fn00002234:
00002234 4E56 0000 link A6, 0
00002238 2F2E 000A move.l -[A7], [A6 + 0xA]
0000223C 7000 moveq.l D0, 0x00
0000223E 2F00 move.l -[A7], D0
00002240 720C moveq.l D1, 0x0C
00002242 2F01 move.l -[A7], D1
00002244 7400 moveq.l D2, 0x00
00002246 142E 0008 move.b D2, [A6 + 0x8]
0000224A 2F02 move.l -[A7], D2
0000224C 4EBA FF64 jsr [PC - 0x9C /* 000021B2 */]
00002250 4E5E unlink A6
00002252 205F movea.l A0, [A7]+
00002254 5C4F addq.w A7, 6
00002256 4ED0 jmp [A0]
export_9:
fn00002258:
00002258 4E56 0000 link A6, 0
0000225C 2F2E 000C move.l -[A7], [A6 + 0xC]
00002260 7000 moveq.l D0, 0x00
00002262 2F00 move.l -[A7], D0
00002264 322E 000A move.w D1, [A6 + 0xA]
00002268 48C1 ext.l D1
0000226A 2F01 move.l -[A7], D1
0000226C 7200 moveq.l D1, 0x00
0000226E 122E 0008 move.b D1, [A6 + 0x8]
00002272 2F01 move.l -[A7], D1
00002274 4EBA FF3C jsr [PC - 0xC4 /* 000021B2 */]
00002278 4E5E unlink A6
0000227A 205F movea.l A0, [A7]+
0000227C 504F addq.w A7, 8
0000227E 4ED0 jmp [A0]
fn00002280:
00002280 4E56 0000 link A6, 0
00002284 598F subq.l A7, 4
00002286 7000 moveq.l D0, 0x00
00002288 2F00 move.l -[A7], D0
0000228A 322E 0008 move.w D1, [A6 + 0x8]
0000228E 48C1 ext.l D1
00002290 2F01 move.l -[A7], D1
00002292 4878 0A80 push.l 0xA80
00002296 2F2E 000A move.l -[A7], [A6 + 0xA]
0000229A 4EBA FAB2 jsr [PC - 0x54E /* 00001D4E */]
0000229E 4A9F tst.l [A7]+
000022A0 56C0 sne D0
000022A2 0240 0001 andi.w D0, 0x1
000022A6 48C0 ext.l D0
000022A8 1D40 000E move.b [A6 + 0xE], D0
000022AC 4E5E unlink A6
000022AE 205F movea.l A0, [A7]+
000022B0 5C4F addq.w A7, 6
000022B2 4ED0 jmp [A0]
fn000022B4:
000022B4 4E56 0000 link A6, 0
000022B8 2F2E 000E move.l -[A7], [A6 + 0xE]
000022BC 70FC moveq.l D0, 0xFFFFFFFC
000022BE 2F00 move.l -[A7], D0
000022C0 322E 000C move.w D1, [A6 + 0xC]
000022C4 48C1 ext.l D1
000022C6 2F01 move.l -[A7], D1
000022C8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000022CC 4EBA FEE4 jsr [PC - 0x11C /* 000021B2 */]
000022D0 4E5E unlink A6
000022D2 205F movea.l A0, [A7]+
000022D4 4FEF 000A lea.l A7, [A7 + 0xA]
000022D8 4ED0 jmp [A0]
fn000022DA:
000022DA 4E56 0000 link A6, 0
000022DE 558F subq.l A7, 2
000022E0 4878 0380 push.l 0x380
000022E4 2F2E 0008 move.l -[A7], [A6 + 0x8]
000022E8 4EBA FA64 jsr [PC - 0x59C /* 00001D4E */]
000022EC 1D5F 000C move.b [A6 + 0xC], [A7]+
000022F0 4E5E unlink A6
000022F2 2E9F move.l [A7], [A7]+
000022F4 4E75 rts
export_0:
000022F6 2057 movea.l A0, [A7]
000022F8 42A7 clr.l -[A7]
000022FA 486D FDB0 pea.l [A5 - 0x250]
000022FE 486D FDAC pea.l [A5 - 0x254]
00002302 486D FDA8 pea.l [A5 - 0x258]
00002306 2F08 move.l -[A7], A0
00002308 4EBA 01C8 jsr [PC + 0x1C8 /* 000024D2 */]
0000230C 72FF moveq.l D1, 0xFFFFFFFF
0000230E B041 cmp.w D0, D1
00002310 672E beq +0x30 /* 00002340 */
00002312 588F addq.l A7, 4
00002314 4FEF 0010 lea.l A7, [A7 + 0x10]
00002318 486D FFD0 pea.l [A5 - 0x30]
0000231C 4EBA 04C4 jsr [PC + 0x4C4 /* 000027E2 */]
00002320 584F addq.w A7, 4
00002322 4A80 tst.l D0
00002324 6624 bne +0x26 /* 0000234A */
00002326 2F2D FDB0 move.l -[A7], [A5 - 0x250]
0000232A 2F2D FDAC move.l -[A7], [A5 - 0x254]
0000232E 2F2D FDA8 move.l -[A7], [A5 - 0x258]
00002332 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
00002336 4FEF 000C lea.l A7, [A7 + 0xC]
0000233A 2F00 move.l -[A7], D0
0000233C 4EBA 038C jsr [PC + 0x38C /* 000026CA */]
label00002340:
00002340 487A 000A pea.l [PC + 0xA /* 0000234C, value 0x1B446174, pstring "Data initialization failed!" */]
00002344 303C FE15 move.w D0, 0xFE15
00002348 A9C9 syscall SysError
label0000234A:
0000234A 4E75 rts
0000234C 1B44 6174 move.b [A5 + 0x6174], D4
00002350 6120 bsr +0x22 /* 00002372 */
00002352 696E bvs +0x70 /* 000023C2 */
00002354 6974 bvs +0x76 /* 000023CA */
00002356 6961 bvs +0x63 /* 000023B9 */
00002358 6C69 bge +0x6B /* 000023C3 */
0000235A 7A61 moveq.l D5, 0x61
0000235C 7469 moveq.l D2, 0x69
0000235E 6F6E ble +0x70 /* 000023CE */
00002360 2066 movea.l A0, -[A6]
00002362 6169 bsr +0x6B /* 000023CD */
00002364 6C65 bge +0x67 /* 000023CB */
00002366 6421 bcc +0x23 /* 00002389 */
fn00002368:
00002368 4E56 FFFC link A6, -0x0004
0000236C 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00002370 4A6D FED8 tst.w [A5 - 0x128]
// begin alternate branch 00002372-00002380
fn00002372:
00002372 FED8 6600 .extension 0xED8 <<F/2-3/7>> // unimplemented
00002376 00BC 598F 2F3C 434F 4445 ori.l 0x434F4445 /* 'CODE' */, 0x598F2F3C
// end alternate branch 00002372-00002380
fn00002372: // (misaligned)
00002374 6600 00BC bne +0xBE /* 00002432 */
00002378 598F subq.l A7, 4
0000237A 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
00002380 486D FE82 pea.l [A5 - 0x17E]
00002384 A820 syscall Get1NamedResource
00002386 285F movea.l A4, [A7]+
00002388 200C move.l D0, A4
0000238A 6700 00A6 beq +0xA8 /* 00002432 */
0000238E 558F subq.l A7, 2
00002390 A994 syscall CurResFile
00002392 558F subq.l A7, 2
00002394 2F0C move.l -[A7], A4
00002396 A9A4 syscall HomeResFile
00002398 301F move.w D0, [A7]+
0000239A B05F cmp.w D0, [A7]+
0000239C 6600 0094 bne +0x96 /* 00002432 */
000023A0 41ED 0072 lea.l A0, [A5 + 0x72 /* export_10 */]
000023A4 226D FEF4 movea.l A1, [A5 - 0x10C]
000023A8 2348 000C move.l [A1 + 0xC], A0
000023AC 2654 movea.l A3, [A4]
000023AE 3013 move.w D0, [A3]
000023B0 0800 0000 btst.b D0, 0x0
000023B4 6708 beq +0xA /* 000023BE */
000023B6 3B7C 0028 FED6 move.w [A5 - 0x12A], 0x28 /* '(' */
000023BC 6006 bra +0x8 /* 000023C4 */
label000023BE:
000023BE 3B7C 0004 FED6 move.w [A5 - 0x12A], 0x4
// begin alternate branch 000023C2-000023C6
label000023C2:
000023C2 FED6 598F .extension 0xED6 <<F/2-3/7>> // unimplemented
// end alternate branch 000023C2-000023C6
label000023C2: // (misaligned)
label000023C4:
000023C4 598F subq.l A7, 4
000023C6 2F0C move.l -[A7], A4
000023C8 4EBA 05E0 jsr [PC + 0x5E0 /* 000029AA */]
// begin alternate branch 000023CA-000023CC
label000023CA:
000023CA 05E0 .incomplete
// end alternate branch 000023CA-000023CC
label000023CA: // (misaligned)
000023CC 302D FED6 move.w D0, [A5 - 0x12A]
// begin alternate branch 000023CE-000023D2
label000023CE:
000023CE FED6 48C0 .extension 0xED6 <<F/2-3/7>> // unimplemented
// end alternate branch 000023CE-000023D2
label000023CE: // (misaligned)
000023D0 48C0 ext.l D0
000023D2 221F move.l D1, [A7]+
000023D4 9280 sub.l D1, D0
000023D6 2001 move.l D0, D1
000023D8 7204 moveq.l D1, 0x04
000023DA 4EBA 0378 jsr [PC + 0x378 /* 00002754 */]
000023DE 2C00 move.l D6, D0
000023E0 7000 moveq.l D0, 0x00
000023E2 2640 movea.l A3, D0
000023E4 6036 bra +0x38 /* 0000241C */
label000023E6:
000023E6 2F0C move.l -[A7], A4
000023E8 A9A2 syscall LoadResource
000023EA 302D FED6 move.w D0, [A5 - 0x12A]
000023EE 48C0 ext.l D0
000023F0 D094 add.l D0, [A4]
000023F2 2D40 FFFC move.l [A6 - 0x4], D0
000023F6 302D FED8 move.w D0, [A5 - 0x128]
000023FA 48C0 ext.l D0
000023FC 206E FFFC movea.l A0, [A6 - 0x4]
00002400 E580 asl D0, 2
00002402 3030 0800 move.w D0, [A0 + D0]
00002406 48C0 ext.l D0
00002408 2E00 move.l D7, D0
0000240A 6708 beq +0xA /* 00002414 */
0000240C 200D move.l D0, A5
0000240E 2640 movea.l A3, D0
00002410 D7C7 add.l A3, D7
00002412 4E93 jsr [A3]
label00002414:
00002414 302D FED8 move.w D0, [A5 - 0x128]
00002418 526D FED8 addq.w [A5 - 0x128], 1
label0000241C:
0000241C 302D FED8 move.w D0, [A5 - 0x128]
00002420 48C0 ext.l D0
00002422 BC80 cmp.l D6, D0
00002424 6EC0 bgt -0x3E /* 000023E6 */
00002426 200B move.l D0, A3
00002428 6704 beq +0x6 /* 0000242E */
0000242A 2F0B move.l -[A7], A3
0000242C A9F1 syscall UnloadSeg
label0000242E:
0000242E 2F0C move.l -[A7], A4
00002430 A9A3 syscall ReleaseResource
label00002432:
00002432 4CEE 18C0 FFEC movem.l D6,D7,A3,A4, [A6 - 0x14]
00002438 4E5E unlink A6
0000243A 4E75 rts
0000243C 8B5F or.w [A7]+, D5
0000243E 5F43 subq.w D3, 7
00002440 706C moveq.l D0, 0x6C
00002442 7573 moveq.l D2, 0x73
00002444 496E 6974 chk.w D4, [A6 + 0x6974]
00002448 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_10: // at 0000244A (misaligned)
0000244C FFFC .invalid <<F/7/7>>
0000244E 48E7 0118 movem.l -[A7], D7,A3,A4
00002452 4A6D FED8 tst.w [A5 - 0x128]
00002456 6764 beq +0x66 /* 000024BC */
00002458 598F subq.l A7, 4
0000245A 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
00002460 486D FEAC pea.l [A5 - 0x154]
00002464 A9A1 syscall GetNamedResource
00002466 285F movea.l A4, [A7]+
00002468 200C move.l D0, A4
0000246A 6750 beq +0x52 /* 000024BC */
0000246C 558F subq.l A7, 2
0000246E A994 syscall CurResFile
00002470 558F subq.l A7, 2
00002472 2F0C move.l -[A7], A4
00002474 A9A4 syscall HomeResFile
00002476 301F move.w D0, [A7]+
00002478 B05F cmp.w D0, [A7]+
0000247A 6640 bne +0x42 /* 000024BC */
0000247C 6034 bra +0x36 /* 000024B2 */
label0000247E:
0000247E 2F0C move.l -[A7], A4
00002480 A9A2 syscall LoadResource
00002482 302D FED6 move.w D0, [A5 - 0x12A]
00002486 48C0 ext.l D0
00002488 D094 add.l D0, [A4]
0000248A 2D40 FFFC move.l [A6 - 0x4], D0
0000248E 536D FED8 subq.w [A5 - 0x128], 1
00002492 302D FED8 move.w D0, [A5 - 0x128]
00002496 48C0 ext.l D0
00002498 206E FFFC movea.l A0, [A6 - 0x4]
0000249C E580 asl D0, 2
0000249E 3030 0802 move.w D0, [A0 + D0 + 0x2]
000024A2 48C0 ext.l D0
000024A4 2E00 move.l D7, D0
000024A6 200D move.l D0, A5
000024A8 2640 movea.l A3, D0
000024AA D7C7 add.l A3, D7
000024AC 4A87 tst.l D7
000024AE 6702 beq +0x4 /* 000024B2 */
000024B0 4E93 jsr [A3]
label000024B2:
000024B2 4A6D FED8 tst.w [A5 - 0x128]
000024B6 6EC6 bgt -0x38 /* 0000247E */
000024B8 2F0C move.l -[A7], A4
000024BA A9A3 syscall ReleaseResource
label000024BC:
000024BC 4CEE 1880 FFF0 movem.l D7,A3,A4, [A6 - 0x10]
000024C2 4E5E unlink A6
000024C4 4E75 rts
000024C6 8964 or.w -[A4], D4
000024C8 746F moveq.l D2, 0x6F
000024CA 7273 moveq.l D1, 0x73
000024CC 5F5F subq.w [A7]+, 7
000024CE 4676 0000 not.w [A6 + D0.w]
fn000024D2:
000024D2 4E56 0000 link A6, 0
000024D6 48E7 1338 movem.l -[A7], D3,D6,D7,A2,A3,A4
000024DA 2E2E 0018 move.l D7, [A6 + 0x18]
000024DE 266E 000C movea.l A3, [A6 + 0xC]
000024E2 4EBA 031C jsr [PC + 0x31C /* 00002800 */]
000024E6 4A80 tst.l D0
000024E8 6706 beq +0x8 /* 000024F0 */
000024EA 70FF moveq.l D0, 0xFFFFFFFF
000024EC 6000 01C8 bra +0x1CA /* 000026B6 */
label000024F0:
000024F0 206D FEF4 movea.l A0, [A5 - 0x10C]
000024F4 20AE 0008 move.l [A0], [A6 + 0x8]
000024F8 7601 moveq.l D3, 0x01
000024FA 4AB8 0316 tst.l [0x00000316 /* HpChk/MacPgm */]
000024FE 672C beq +0x2E /* 0000252C */
00002500 7001 moveq.l D0, 0x01
00002502 C0B8 0316 and.l D0, [0x00000316 /* HpChk/MacPgm */]
00002506 6624 bne +0x26 /* 0000252C */
00002508 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
0000250C 0C90 4D50 474D cmpi.l [A0], 0x4D50474D /* 'MPGM' */
00002512 6618 bne +0x1A /* 0000252C */
00002514 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00002518 4AA8 0004 tst.l [A0 + 0x4]
0000251C 670E beq +0x10 /* 0000252C */
0000251E 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00002522 2068 0004 movea.l A0, [A0 + 0x4]
00002526 4A50 tst.w [A0]
00002528 6702 beq +0x4 /* 0000252C */
0000252A 7600 moveq.l D3, 0x00
label0000252C:
0000252C 4883 ext.w D3
0000252E 48C3 ext.l D3
00002530 2B43 FEDA move.l [A5 - 0x126], D3
00002534 6760 beq +0x62 /* 00002596 */
00002536 41ED FFAE lea.l A0, [A5 - 0x52]
0000253A 43F8 0910 lea.l A1, [0x00000910 /* CurApName */]
0000253E 7007 moveq.l D0, 0x07
label00002540:
00002540 20D9 move.l [A0]+, [A1]+
00002542 51C8 FFFC dbf D0, -0x6 /* 00002540 */
00002546 30D9 move.w [A0]+, [A1]+
00002548 41ED FFAE lea.l A0, [A5 - 0x52]
0000254C 226D FEE4 movea.l A1, [A5 - 0x11C]
00002550 2288 move.l [A1], A0
00002552 4A87 tst.l D7
00002554 660E bne +0x10 /* 00002564 */
00002556 598F subq.l A7, 4
00002558 206D FEE4 movea.l A0, [A5 - 0x11C]
0000255C 2F10 move.l -[A7], [A0]
0000255E 4EBA 0A26 jsr [PC + 0xA26 /* 00002F86 */]
00002562 584F addq.w A7, 4
label00002564:
00002564 200B move.l D0, A3
00002566 6704 beq +0x6 /* 0000256C */
00002568 7001 moveq.l D0, 0x01
0000256A 2680 move.l [A3], D0
label0000256C:
0000256C 4AAE 0010 tst.l [A6 + 0x10]
00002570 6708 beq +0xA /* 0000257A */
00002572 206E 0010 movea.l A0, [A6 + 0x10]
00002576 20AD FEE4 move.l [A0], [A5 - 0x11C]
label0000257A:
0000257A 4AAE 0014 tst.l [A6 + 0x14]
0000257E 6708 beq +0xA /* 00002588 */
00002580 206E 0014 movea.l A0, [A6 + 0x14]
00002584 20AD FEE8 move.l [A0], [A5 - 0x118]
label00002588:
00002588 4EBA FDDE jsr [PC - 0x222 /* 00002368 */]
0000258C 7001 moveq.l D0, 0x01
0000258E 2B40 FEDA move.l [A5 - 0x126], D0
00002592 6000 0122 bra +0x124 /* 000026B6 */
label00002596:
00002596 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
0000259A 2068 0004 movea.l A0, [A0 + 0x4]
0000259E 302D FEDE move.w D0, [A5 - 0x122]
000025A2 B050 cmp.w D0, [A0]
000025A4 670C beq +0xE /* 000025B2 */
000025A6 2F3C 8000 0000 move.l -[A7], 0x80000000
000025AC 4EBA 013C jsr [PC + 0x13C /* 000026EA */]
000025B0 584F addq.w A7, 4
label000025B2:
000025B2 41ED FEDE lea.l A0, [A5 - 0x122]
000025B6 2278 0316 movea.l A1, [0x00000316 /* HpChk/MacPgm */]
000025BA 2269 0004 movea.l A1, [A1 + 0x4]
000025BE 2348 0024 move.l [A1 + 0x24], A0
000025C2 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
000025C6 2B68 0004 FF02 move.l [A5 - 0xFE], [A0 + 0x4]
000025CC 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
000025D0 2068 0004 movea.l A0, [A0 + 0x4]
000025D4 2B68 0002 FEE0 move.l [A5 - 0x120], [A0 + 0x2]
000025DA 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
000025DE 2068 0004 movea.l A0, [A0 + 0x4]
000025E2 2B68 0006 FEE4 move.l [A5 - 0x11C], [A0 + 0x6]
000025E8 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
000025EC 2068 0004 movea.l A0, [A0 + 0x4]
000025F0 2B68 000A FEE8 move.l [A5 - 0x118], [A0 + 0xA]
000025F6 4A87 tst.l D7
000025F8 672C beq +0x2E /* 00002626 */
000025FA 286D FEE4 movea.l A4, [A5 - 0x11C]
000025FE 600C bra +0xE /* 0000260C */
label00002600:
00002600 598F subq.l A7, 4
00002602 2F14 move.l -[A7], [A4]
00002604 4EBA 094A jsr [PC + 0x94A /* 00002F50 */]
00002608 584F addq.w A7, 4
0000260A 584C addq.w A4, 4
label0000260C:
0000260C 4A94 tst.l [A4]
0000260E 66F0 bne -0xE /* 00002600 */
00002610 286D FEE8 movea.l A4, [A5 - 0x118]
00002614 600C bra +0xE /* 00002622 */
label00002616:
00002616 598F subq.l A7, 4
00002618 2F14 move.l -[A7], [A4]
0000261A 4EBA 0934 jsr [PC + 0x934 /* 00002F50 */]
0000261E 584F addq.w A7, 4
00002620 584C addq.w A4, 4
label00002622:
00002622 4A94 tst.l [A4]
00002624 66F0 bne -0xE /* 00002616 */
label00002626:
00002626 200B move.l D0, A3
00002628 6704 beq +0x6 /* 0000262E */
0000262A 26AD FEE0 move.l [A3], [A5 - 0x120]
label0000262E:
0000262E 4AAE 0010 tst.l [A6 + 0x10]
00002632 6708 beq +0xA /* 0000263C */
00002634 206E 0010 movea.l A0, [A6 + 0x10]
00002638 20AD FEE4 move.l [A0], [A5 - 0x11C]
label0000263C:
0000263C 4AAE 0014 tst.l [A6 + 0x14]
00002640 6708 beq +0xA /* 0000264A */
00002642 206E 0014 movea.l A0, [A6 + 0x14]
00002646 20AD FEE8 move.l [A0], [A5 - 0x118]
label0000264A:
0000264A 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
0000264E 2068 0004 movea.l A0, [A0 + 0x4]
00002652 4AA8 0020 tst.l [A0 + 0x20]
00002656 6754 beq +0x56 /* 000026AC */
00002658 7078 moveq.l D0, 0x78
0000265A A11E syscall NewPtr, flags=1
0000265C 2B48 FEFE move.l [A5 - 0x102], A0
00002660 660A bne +0xC /* 0000266C */
00002662 7002 moveq.l D0, 0x02
00002664 2F00 move.l -[A7], D0
00002666 4EBA 0082 jsr [PC + 0x82 /* 000026EA */]
0000266A 584F addq.w A7, 4
label0000266C:
0000266C 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00002670 2068 0004 movea.l A0, [A0 + 0x4]
00002674 2668 0020 movea.l A3, [A0 + 0x20]
00002678 7E00 moveq.l D7, 0x00
0000267A 7605 moveq.l D3, 0x05
label0000267C:
0000267C 2207 move.l D1, D7
0000267E 2001 move.l D0, D1
00002680 C2FC 0018 mulu.w D1, 0x18
00002684 4840 swap.w D0
00002686 C0FC 0018 mulu.w D0, 0x18
0000268A 4840 swap.w D0
0000268C 4240 clr.w D0
0000268E D280 add.l D1, D0
00002690 2C01 move.l D6, D1
00002692 206D FEFE movea.l A0, [A5 - 0x102]
00002696 43F3 6800 lea.l A1, [A3 + D6]
0000269A 45F0 6800 lea.l A2, [A0 + D6]
0000269E 7005 moveq.l D0, 0x05
label000026A0:
000026A0 24D9 move.l [A2]+, [A1]+
000026A2 51C8 FFFC dbf D0, -0x6 /* 000026A0 */
000026A6 5287 addq.l D7, 1
000026A8 B687 cmp.l D3, D7
000026AA 6ED0 bgt -0x2E /* 0000267C */
label000026AC:
000026AC 4EBA FCBA jsr [PC - 0x346 /* 00002368 */]
000026B0 7000 moveq.l D0, 0x00
000026B2 2B40 FEDA move.l [A5 - 0x126], D0
label000026B6:
000026B6 4CEE 1CC8 FFE8 movem.l D3,D6,D7,A2,A3,A4, [A6 - 0x18]
000026BC 4E5E unlink A6
000026BE 4E75 rts
000026C0 875F or.w [A7]+, D3
000026C2 5254 addq.w [A4], 1
000026C4 496E 6974 chk.w D4, [A6 + 0x6974]
000026C8 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000026CA-000026D4
fn000026CA:
000026CA 4E56 0000 link A6, 0
000026CE 203C 00FF FFFF move.l D0, 0xFFFFFF
// end alternate branch 000026CA-000026D4
fn000026CA: // (misaligned)
000026CC 0000 203C ori.b D0, 0x3C /* '<' */
000026D0 00FF .incomplete
000026D2 FFFF .invalid <<F/7/7>>
000026D4 C0AE 0008 and.l D0, [A6 + 0x8]
000026D8 2F00 move.l -[A7], D0
000026DA 4EBA 000E jsr [PC + 0xE /* 000026EA */]
000026DE 4E5E unlink A6
000026E0 4E75 rts
000026E2 8465 or.w D2, -[A5]
000026E4 7869 moveq.l D4, 0x69
000026E6 7400 moveq.l D2, 0x00
000026E8 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000026EA-000026F0
fn000026EA:
000026EA 4E56 0000 link A6, 0
000026EE 2F0C move.l -[A7], A4
// end alternate branch 000026EA-000026F0
fn000026EA: // (misaligned)
000026EC 0000 2F0C ori.b D0, 0xC
000026F0 206D FEF4 movea.l A0, [A5 - 0x10C]
000026F4 49E8 008C lea.l A4, [A0 + 0x8C]
000026F8 600A bra +0xC /* 00002704 */
label000026FA:
000026FA 4A94 tst.l [A4]
000026FC 6704 beq +0x6 /* 00002702 */
000026FE 2054 movea.l A0, [A4]
00002700 4E90 jsr [A0]
label00002702:
00002702 594C subq.w A4, 4
label00002704:
00002704 206D FEF4 movea.l A0, [A5 - 0x10C]
00002708 B1CC cmpa.l A0, A4
0000270A 65EE bcs -0x10 /* 000026FA */
0000270C 4AAD FF02 tst.l [A5 - 0xFE]
00002710 670A beq +0xC /* 0000271C */
00002712 206D FF02 movea.l A0, [A5 - 0xFE]
00002716 216E 0008 000E move.l [A0 + 0xE], [A6 + 0x8]
label0000271C:
0000271C 4AAD FFE8 tst.l [A5 - 0x18]
00002720 660A bne +0xC /* 0000272C */
00002722 206D FEF4 movea.l A0, [A5 - 0x10C]
00002726 2250 movea.l A1, [A0]
00002728 4E91 jsr [A1]
0000272A 600E bra +0x10 /* 0000273A */
label0000272C:
0000272C 7001 moveq.l D0, 0x01
0000272E 2F00 move.l -[A7], D0
00002730 486D FFD0 pea.l [A5 - 0x30]
00002734 4EBA 00B8 jsr [PC + 0xB8 /* 000027EE */]
00002738 504F addq.w A7, 8
label0000273A:
0000273A 286E FFFC movea.l A4, [A6 - 0x4]
0000273E 4E5E unlink A6
00002740 4E75 rts
00002742 875F or.w [A7]+, D3
00002744 5254 addq.w [A4], 1
00002746 4578 6974 chk.w D2, [0x00006974]
0000274A 0000 222F ori.b D0, 0x2F /* '/' */
0000274E 0004 202F ori.b D4, 0x2F /* '/' */
00002752 0008 4EBA ori.b A0, 0xBA
// begin alternate branch 00002754-0000275A
fn00002754:
00002754 4EBA 000E jsr [PC + 0xE /* 00002764 */]
00002758 2001 move.l D0, D1
// end alternate branch 00002754-0000275A
fn00002754: // (misaligned)
00002756 000E 2001 ori.b A6, 0x1
0000275A 4E75 rts
0000275C 222F 0004 move.l D1, [A7 + 0x4]
00002760 202F 0008 move.l D0, [A7 + 0x8]
fn00002764:
00002764 48E7 0600 movem.l -[A7], D5,D6
00002768 2A00 move.l D5, D0
0000276A 6A02 bpl +0x4 /* 0000276E */
0000276C 4480 neg.l D0
label0000276E:
0000276E 2C01 move.l D6, D1
00002770 6A02 bpl +0x4 /* 00002774 */
00002772 4481 neg.l D1
label00002774:
00002774 4EBA 001C jsr [PC + 0x1C /* 00002792 */]
00002778 4A85 tst.l D5
0000277A 6A02 bpl +0x4 /* 0000277E */
0000277C 4480 neg.l D0
label0000277E:
0000277E BB86 xor.l D6, D5
00002780 6A02 bpl +0x4 /* 00002784 */
00002782 4481 neg.l D1
label00002784:
00002784 4CDF 0060 movem.l D5,D6, [A7]+
00002788 4E75 rts
0000278A 222F 0004 move.l D1, [A7 + 0x4]
0000278E 202F 0008 move.l D0, [A7 + 0x8]
fn00002792:
00002792 48E7 3800 movem.l -[A7], D2,D3,D4
00002796 2401 move.l D2, D1
00002798 4842 swap.w D2
0000279A 4A42 tst.w D2
0000279C 661C bne +0x1E /* 000027BA */
0000279E 3600 move.w D3, D0
000027A0 4240 clr.w D0
000027A2 4840 swap.w D0
000027A4 6704 beq +0x6 /* 000027AA */
000027A6 80C1 divu.w D0, D1
000027A8 3400 move.w D2, D0
label000027AA:
000027AA 4842 swap.w D2
000027AC 3003 move.w D0, D3
000027AE 80C1 divu.w D0, D1
000027B0 3400 move.w D2, D0
000027B2 2202 move.l D1, D2
000027B4 4240 clr.w D0
000027B6 4840 swap.w D0
000027B8 6022 bra +0x24 /* 000027DC */
label000027BA:
000027BA 2400 move.l D2, D0
000027BC 4240 clr.w D0
000027BE 4840 swap.w D0
000027C0 4842 swap.w D2
000027C2 4242 clr.w D2
000027C4 2601 move.l D3, D1
000027C6 7200 moveq.l D1, 0x00
000027C8 780F moveq.l D4, 0x0F
label000027CA:
000027CA D482 add.l D2, D2
000027CC D180 addx.l D0, D0
000027CE D281 add.l D1, D1
000027D0 B083 cmp.l D0, D3
000027D2 6504 bcs +0x6 /* 000027D8 */
000027D4 9083 sub.l D0, D3
000027D6 5201 addq.b D1, 1
label000027D8:
000027D8 51CC FFF0 dbf D4, -0x12 /* 000027CA */
label000027DC:
000027DC 4CDF 001C movem.l D2,D3,D4, [A7]+
000027E0 4E75 rts
fn000027E2:
000027E2 225F movea.l A1, [A7]+
000027E4 2057 movea.l A0, [A7]
000027E6 48D0 DEFC movem.l [A0], D2,D3,D4,D5,D6,D7,A1,A2,A3,A4,A6,A7
000027EA 7000 moveq.l D0, 0x00
000027EC 4ED1 jmp [A1]
fn000027EE:
000027EE 202F 0008 move.l D0, [A7 + 0x8]
000027F2 6602 bne +0x4 /* 000027F6 */
000027F4 7001 moveq.l D0, 0x01
label000027F6:
000027F6 206F 0004 movea.l A0, [A7 + 0x4]
000027FA 4CD0 DEFC movem.l D2,D3,D4,D5,D6,D7,A1,A2,A3,A4,A6,A7, [A0]
000027FE 4ED1 jmp [A1]
fn00002800:
00002800 48E7 7FF8 movem.l -[A7], D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4
00002804 49FA 079C lea.l A4, [PC + 0x79C /* 00002FA2, value 0x3A6, cstring "" */]
00002808 302C 0004 move.w D0, [A4 + 0x4]
0000280C 5340 subq.w D0, 1
0000280E 6704 beq +0x6 /* 00002814 */
00002810 70FF moveq.l D0, 0xFFFFFFFF
00002812 6032 bra +0x34 /* 00002846 */
label00002814:
00002814 264D movea.l A3, A5
00002816 97D4 sub.l A3, [A4]
00002818 2F0B move.l -[A7], A3
0000281A 2F14 move.l -[A7], [A4]
0000281C 6100 0148 bsr +0x14A /* 00002966 */
00002820 202C 0008 move.l D0, [A4 + 0x8]
00002824 4874 0800 pea.l [A4 + D0]
00002828 2F0B move.l -[A7], A3
0000282A 6100 002E bsr +0x30 /* 0000285A */
0000282E 504F addq.w A7, 8
00002830 202C 000C move.l D0, [A4 + 0xC]
00002834 4874 0800 pea.l [A4 + D0]
00002838 2F0B move.l -[A7], A3
0000283A 2F0D move.l -[A7], A5
0000283C 6100 00CC bsr +0xCE /* 0000290A */
00002840 4FEF 000C lea.l A7, [A7 + 0xC]
00002844 7000 moveq.l D0, 0x00
label00002846:
00002846 4CDF 1FFE movem.l D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4, [A7]+
0000284A 4E75 rts
0000284C 8009 or.b D0, A1
0000284E 5F44 subq.w D4, 7
00002850 4154 chk.w D0, [A4]
00002852 4149 chk.w D0, A1
00002854 4E49 trap 9
00002856 5400 addq.b D0, 2
00002858 0000 226F ori.b D0, 0x6F /* 'o' */
// begin alternate branch 0000285A-00002866
fn0000285A:
0000285A 226F 0004 movea.l A1, [A7 + 0x4]
0000285E 206F 0008 movea.l A0, [A7 + 0x8]
00002862 48E7 1800 movem.l -[A7], D3,D4
// end alternate branch 0000285A-00002866
fn0000285A: // (misaligned)
0000285C 0004 206F ori.b D4, 0x6F /* 'o' */
00002860 0008 48E7 ori.b A0, 0xE7
00002864 1800 move.b D4, D0
label00002866:
00002866 7601 moveq.l D3, 0x01
00002868 7200 moveq.l D1, 0x00
0000286A 1218 move.b D1, [A0]+
0000286C 2401 move.l D2, D1
0000286E 0241 000F andi.w D1, 0xF
00002872 6608 bne +0xA /* 0000287C */
00002874 6140 bsr +0x42 /* 000028B6 */
00002876 2200 move.l D1, D0
00002878 6722 beq +0x24 /* 0000289C */
0000287A 6002 bra +0x4 /* 0000287E */
label0000287C:
0000287C D241 add.w D1, D1
label0000287E:
0000287E 0242 00F0 andi.w D2, 0xF0
00002882 6606 bne +0x8 /* 0000288A */
00002884 6130 bsr +0x32 /* 000028B6 */
00002886 2400 move.l D2, D0
00002888 6002 bra +0x4 /* 0000288C */
label0000288A:
0000288A E64A lsr D2.w, 3
label0000288C:
0000288C D3C2 add.l A1, D2
0000288E 2801 move.l D4, D1
label00002890:
00002890 12D8 move.b [A1]+, [A0]+
00002892 5384 subq.l D4, 1
00002894 66FA bne -0x4 /* 00002890 */
00002896 5383 subq.l D3, 1
00002898 66F2 bne -0xC /* 0000288C */
0000289A 60CA bra -0x34 /* 00002866 */
label0000289C:
0000289C 4CDF 0018 movem.l D3,D4, [A7]+
000028A0 4E75 rts
000028A2 8010 or.b D0, [A0]
000028A4 756E moveq.l D2, 0x6E
000028A6 636F bls +0x71 /* 00002917 */
000028A8 6D70 blt +0x72 /* 0000291A */
000028AA 7265 moveq.l D1, 0x65
000028AC 7373 moveq.l D1, 0x73
000028AE 5F77 6F72 6C64 0000 7000 subq.w [[A7 + 0x6C640000] + 0x7000], 7
// begin alternate branch 000028B6-000028B8
fn000028B6:
000028B6 7000 moveq.l D0, 0x00
// end alternate branch 000028B6-000028B8
fn000028B6: // (misaligned)
000028B8 1018 move.b D0, [A0]+
000028BA 6A42 bpl +0x44 /* 000028FE */
000028BC 0800 0006 btst.b D0, 0x6
000028C0 6734 beq +0x36 /* 000028F6 */
000028C2 0800 0005 btst.b D0, 0x5
000028C6 6720 beq +0x22 /* 000028E8 */
000028C8 0800 0004 btst.b D0, 0x4
000028CC 670A beq +0xC /* 000028D8 */
000028CE 61E6 bsr -0x18 /* 000028B6 */
000028D0 2600 move.l D3, D0
000028D2 61E2 bsr -0x1C /* 000028B6 */
000028D4 C143 exg D0, D3
000028D6 4E75 rts
label000028D8:
000028D8 1018 move.b D0, [A0]+
000028DA E180 asl D0, 8
000028DC 1018 move.b D0, [A0]+
000028DE E180 asl D0, 8
000028E0 1018 move.b D0, [A0]+
000028E2 E180 asl D0, 8
000028E4 1018 move.b D0, [A0]+
000028E6 4E75 rts
label000028E8:
000028E8 0200 001F andi.b D0, 0x1F
000028EC E180 asl D0, 8
000028EE 1018 move.b D0, [A0]+
000028F0 E180 asl D0, 8
000028F2 1018 move.b D0, [A0]+
000028F4 4E75 rts
label000028F6:
000028F6 0200 003F andi.b D0, 0x3F /* '?' */
000028FA E180 asl D0, 8
000028FC 1018 move.b D0, [A0]+
label000028FE:
000028FE 4E75 rts
00002900 8006 or.b D0, D6
00002902 6765 beq +0x67 /* 00002969 */
00002904 745F moveq.l D2, 0x5F
00002906 726C moveq.l D1, 0x6C
00002908 0000 222F ori.b D0, 0x2F /* '/' */
// begin alternate branch 0000290A-00002918
fn0000290A:
0000290A 222F 0004 move.l D1, [A7 + 0x4]
0000290E 226F 0008 movea.l A1, [A7 + 0x8]
00002912 206F 000C movea.l A0, [A7 + 0xC]
label00002916:
00002916 7401 moveq.l D2, 0x01
// end alternate branch 0000290A-00002918
fn0000290A: // (misaligned)
0000290C 0004 226F ori.b D4, 0x6F /* 'o' */
00002910 0008 206F ori.b A0, 0x6F /* 'o' */
00002914 000C 7401 ori.b A4, 0x1
label00002916: // (misaligned)
00002918 7000 moveq.l D0, 0x00
label0000291A:
0000291A 1018 move.b D0, [A0]+
0000291C 670C beq +0xE /* 0000292A */
0000291E 6A26 bpl +0x28 /* 00002946 */
00002920 0880 0007 bclr.b D0, 0x7
00002924 E188 lsl D0, 8
00002926 1018 move.b D0, [A0]+
00002928 601C bra +0x1E /* 00002946 */
label0000292A:
0000292A 1018 move.b D0, [A0]+
0000292C 6724 beq +0x26 /* 00002952 */
0000292E 6A0E bpl +0x10 /* 0000293E */
00002930 E188 lsl D0, 8
00002932 1018 move.b D0, [A0]+
00002934 E188 lsl D0, 8
00002936 1018 move.b D0, [A0]+
00002938 E188 lsl D0, 8
0000293A 1018 move.b D0, [A0]+
0000293C 6008 bra +0xA /* 00002946 */
label0000293E:
0000293E 2400 move.l D2, D0
00002940 6100 FF74 bsr -0x8A /* 000028B6 */
00002944 C142 exg D0, D2
label00002946:
00002946 D080 add.l D0, D0
label00002948:
00002948 D3C0 add.l A1, D0
0000294A D391 add.l [A1], D1
0000294C 5382 subq.l D2, 1
0000294E 66F8 bne -0x6 /* 00002948 */
00002950 60C4 bra -0x3A /* 00002916 */
label00002952:
00002952 4E75 rts
00002954 800E or.b D0, A6
00002956 7265 moveq.l D1, 0x65
00002958 6C6F bge +0x71 /* 000029C9 */
0000295A 6361 bls +0x63 /* 000029BD */
0000295C 7465 moveq.l D2, 0x65
0000295E 5F77 6F72 6C64 0000 7400 subq.w [[A7 + 0x6C640000] + 0x7400], 7
// begin alternate branch 00002966-00002968
fn00002966:
00002966 7400 moveq.l D2, 0x00
// end alternate branch 00002966-00002968
fn00002966: // (misaligned)
00002968 205F movea.l A0, [A7]+
0000296A 201F move.l D0, [A7]+
0000296C 225F movea.l A1, [A7]+
0000296E 6728 beq +0x2A /* 00002998 */
label00002970:
00002970 3209 move.w D1, A1
00002972 0241 0003 andi.w D1, 0x3
00002976 6708 beq +0xA /* 00002980 */
00002978 12C2 move.b [A1]+, D2
0000297A 5380 subq.l D0, 1
0000297C 66F2 bne -0xC /* 00002970 */
0000297E 6018 bra +0x1A /* 00002998 */
label00002980:
00002980 2200 move.l D1, D0
00002982 E489 lsr D1, 2
00002984 6706 beq +0x8 /* 0000298C */
label00002986:
00002986 22C2 move.l [A1]+, D2
00002988 5381 subq.l D1, 1
0000298A 66FA bne -0x4 /* 00002986 */
label0000298C:
0000298C 0240 0003 andi.w D0, 0x3
00002990 6002 bra +0x4 /* 00002994 */
label00002992:
00002992 12C2 move.b [A1]+, D2
label00002994:
00002994 51C8 FFFC dbf D0, -0x6 /* 00002992 */
label00002998:
00002998 4ED0 jmp [A0]
0000299A 800A or.b D0, A2
0000299C 5A45 addq.w D5, 5
0000299E 524F addq.w A7, 1
000029A0 4255 clr.w [A5]
000029A2 4646 not.w D6
000029A4 4552 chk.w D2, [A2]
000029A6 0000 0000 ori.b D0, 0x0
fn000029AA:
000029AA 225F movea.l A1, [A7]+
000029AC 205F movea.l A0, [A7]+
000029AE A025 syscall GetHandleSize
000029B0 2E80 move.l [A7], D0
000029B2 6A02 bpl +0x4 /* 000029B6 */
000029B4 4297 clr.l [A7]
label000029B6:
000029B6 4ED1 jmp [A1]
fn000029B8:
000029B8 225F movea.l A1, [A7]+
000029BA 101F move.b D0, [A7]+
000029BC 205F movea.l A0, [A7]+
000029BE 6604 bne +0x6 /* 000029C4 */
000029C0 A007 syscall GetVolInfo/PBHGetVInfo/HGetVInfo
000029C2 6002 bra +0x4 /* 000029C6 */
label000029C4:
000029C4 A407 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=4
label000029C6:
000029C6 3E80 move.w [A7], D0
000029C8 4ED1 jmp [A1]
fn000029CA:
000029CA 225F movea.l A1, [A7]+
000029CC 101F move.b D0, [A7]+
000029CE 205F movea.l A0, [A7]+
000029D0 6604 bne +0x6 /* 000029D6 */
000029D2 A00A syscall OpenRF/PBHOpenRF/HOpenRF
000029D4 6002 bra +0x4 /* 000029D8 */
label000029D6:
000029D6 A40A syscall OpenRF/PBHOpenRF/HOpenRF, flags=4
label000029D8:
000029D8 3E80 move.w [A7], D0
000029DA 4ED1 jmp [A1]
fn000029DC:
000029DC 4E56 FFCE link A6, -0x0032
000029E0 204F movea.l A0, A7
000029E2 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
000029E8 A001 syscall Close
000029EA 3D40 000A move.w [A6 + 0xA], D0
000029EE 4E5E unlink A6
000029F0 205F movea.l A0, [A7]+
000029F2 548F addq.l A7, 2
000029F4 4ED0 jmp [A0]
fn000029F6:
000029F6 51C1 sf D1
000029F8 6002 bra +0x4 /* 000029FC */
fn000029FA:
000029FA 50C1 st D1
label000029FC:
000029FC 4E56 FFCE link A6, -0x0032
00002A00 204F movea.l A0, A7
00002A02 216E 0008 0020 move.l [A0 + 0x20], [A6 + 0x8]
00002A08 316E 0010 0018 move.w [A0 + 0x18], [A6 + 0x10]
00002A0E 226E 000C movea.l A1, [A6 + 0xC]
00002A12 2151 0024 move.l [A0 + 0x24], [A1]
00002A16 4268 002C clr.w [A0 + 0x2C]
00002A1A 42A8 002E clr.l [A0 + 0x2E]
00002A1E 4A01 tst.b D1
00002A20 6604 bne +0x6 /* 00002A26 */
00002A22 A002 syscall Read
00002A24 6002 bra +0x4 /* 00002A28 */
label00002A26:
00002A26 A003 syscall Write
label00002A28:
00002A28 3D40 0012 move.w [A6 + 0x12], D0
00002A2C 226E 000C movea.l A1, [A6 + 0xC]
00002A30 22A8 0028 move.l [A1], [A0 + 0x28]
00002A34 4E5E unlink A6
00002A36 225F movea.l A1, [A7]+
00002A38 4FEF 000A lea.l A7, [A7 + 0xA]
00002A3C 4ED1 jmp [A1]
fn00002A3E:
00002A3E 4E56 FFB0 link A6, -0x0050
00002A42 204F movea.l A0, A7
00002A44 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
00002A4A 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00002A50 4228 001A clr.b [A0 + 0x1A]
00002A54 4268 001C clr.w [A0 + 0x1C]
00002A58 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00002A5A 3D40 0012 move.w [A6 + 0x12], D0
00002A5E 41E8 0020 lea.l A0, [A0 + 0x20]
00002A62 226E 0008 movea.l A1, [A6 + 0x8]
00002A66 7010 moveq.l D0, 0x10
00002A68 A02E syscall BlockMove/BlockMoveData
00002A6A 4E5E unlink A6
00002A6C 225F movea.l A1, [A7]+
00002A6E 4FEF 000A lea.l A7, [A7 + 0xA]
00002A72 4ED1 jmp [A1]
export_11:
fn00002A74:
00002A74 4E56 FFC0 link A6, -0x0040
00002A78 204F movea.l A0, A7
00002A7A 216E 000C 0012 move.l [A0 + 0x12], [A6 + 0xC]
00002A80 A014 syscall GetVol/PBHGetVol/HGetVol
00002A82 3D40 0010 move.w [A6 + 0x10], D0
00002A86 226E 0008 movea.l A1, [A6 + 0x8]
00002A8A 32A8 0016 move.w [A1], [A0 + 0x16]
00002A8E 4E5E unlink A6
00002A90 225F movea.l A1, [A7]+
00002A92 508F addq.l A7, 8
00002A94 4ED1 jmp [A1]
fn00002A96:
00002A96 4E56 FFC0 link A6, -0x0040
00002A9A 204F movea.l A0, A7
00002A9C 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00002AA2 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00002AA8 A015 syscall SetVol/PBHSetVol/HSetVol
00002AAA 3D40 000E move.w [A6 + 0xE], D0
00002AAE 4E5E unlink A6
00002AB0 225F movea.l A1, [A7]+
00002AB2 5C8F addq.l A7, 6
00002AB4 4ED1 jmp [A1]
fn00002AB6:
00002AB6 4E56 FFC0 link A6, -0x0040
00002ABA 204F movea.l A0, A7
00002ABC 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00002AC2 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00002AC8 A013 syscall FlushVol
00002ACA 3D40 000E move.w [A6 + 0xE], D0
00002ACE 4E5E unlink A6
00002AD0 225F movea.l A1, [A7]+
00002AD2 5C8F addq.l A7, 6
00002AD4 4ED1 jmp [A1]
fn00002AD6:
00002AD6 4E56 FFB0 link A6, -0x0050
00002ADA 204F movea.l A0, A7
00002ADC 216E 0012 0012 move.l [A0 + 0x12], [A6 + 0x12]
00002AE2 316E 0010 0016 move.w [A0 + 0x16], [A6 + 0x10]
00002AE8 4228 001A clr.b [A0 + 0x1A]
00002AEC A008 syscall Create/PBHCreate/HCreate
00002AEE 6616 bne +0x18 /* 00002B06 */
00002AF0 4268 001C clr.w [A0 + 0x1C]
00002AF4 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00002AF6 660E bne +0x10 /* 00002B06 */
00002AF8 43E8 0020 lea.l A1, [A0 + 0x20]
00002AFC 22EE 0008 move.l [A1]+, [A6 + 0x8]
00002B00 22AE 000C move.l [A1], [A6 + 0xC]
00002B04 A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
label00002B06:
00002B06 3D40 0016 move.w [A6 + 0x16], D0
00002B0A 4E5E unlink A6
00002B0C 225F movea.l A1, [A7]+
00002B0E 4FEF 000E lea.l A7, [A7 + 0xE]
00002B12 4ED1 jmp [A1]
fn00002B14:
00002B14 4E56 FFCE link A6, -0x0032
00002B18 204F movea.l A0, A7
00002B1A 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00002B20 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00002B26 4228 001A clr.b [A0 + 0x1A]
00002B2A A009 syscall Delete/PBHDelete/HDelete
00002B2C 3D40 000E move.w [A6 + 0xE], D0
00002B30 4E5E unlink A6
00002B32 225F movea.l A1, [A7]+
00002B34 5C8F addq.l A7, 6
00002B36 4ED1 jmp [A1]
fn00002B38:
00002B38 4E56 FFCE link A6, -0x0032
00002B3C 204F movea.l A0, A7
00002B3E 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
00002B44 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00002B4A 4228 001A clr.b [A0 + 0x1A]
00002B4E 4228 001B clr.b [A0 + 0x1B]
00002B52 42A8 001C clr.l [A0 + 0x1C]
00002B56 A00A syscall OpenRF/PBHOpenRF/HOpenRF
00002B58 3D40 0012 move.w [A6 + 0x12], D0
00002B5C 226E 0008 movea.l A1, [A6 + 0x8]
00002B60 32A8 0018 move.w [A1], [A0 + 0x18]
00002B64 4E5E unlink A6
00002B66 225F movea.l A1, [A7]+
00002B68 4FEF 000A lea.l A7, [A7 + 0xA]
00002B6C 4ED1 jmp [A1]
fn00002B6E:
00002B6E 4E56 FFB0 link A6, -0x0050
00002B72 204F movea.l A0, A7
00002B74 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
00002B7A 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00002B80 4228 001A clr.b [A0 + 0x1A]
00002B84 4268 001C clr.w [A0 + 0x1C]
00002B88 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00002B8A 43E8 0020 lea.l A1, [A0 + 0x20]
00002B8E 206E 0008 movea.l A0, [A6 + 0x8]
00002B92 7010 moveq.l D0, 0x10
00002B94 A02E syscall BlockMove/BlockMoveData
00002B96 204F movea.l A0, A7
00002B98 A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
00002B9A 3D40 0012 move.w [A6 + 0x12], D0
00002B9E 4E5E unlink A6
00002BA0 225F movea.l A1, [A7]+
00002BA2 4FEF 000A lea.l A7, [A7 + 0xA]
00002BA6 4ED1 jmp [A1]
fn00002BA8:
00002BA8 4E56 FFCE link A6, -0x0032
00002BAC 204F movea.l A0, A7
00002BAE 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00002BB4 A011 syscall GetEOF
00002BB6 3D40 000E move.w [A6 + 0xE], D0
00002BBA 226E 0008 movea.l A1, [A6 + 0x8]
00002BBE 22A8 001C move.l [A1], [A0 + 0x1C]
00002BC2 4E5E unlink A6
00002BC4 225F movea.l A1, [A7]+
00002BC6 5C8F addq.l A7, 6
00002BC8 4ED1 jmp [A1]
fn00002BCA:
00002BCA 4E56 FFCE link A6, -0x0032
00002BCE 204F movea.l A0, A7
00002BD0 316E 000E 0018 move.w [A0 + 0x18], [A6 + 0xE]
00002BD6 316E 000C 002C move.w [A0 + 0x2C], [A6 + 0xC]
00002BDC 216E 0008 002E move.l [A0 + 0x2E], [A6 + 0x8]
00002BE2 A044 syscall SetFPos
00002BE4 3D40 0010 move.w [A6 + 0x10], D0
00002BE8 4E5E unlink A6
00002BEA 225F movea.l A1, [A7]+
00002BEC 508F addq.l A7, 8
00002BEE 4ED1 jmp [A1]
fn00002BF0:
00002BF0 225F movea.l A1, [A7]+
00002BF2 101F move.b D0, [A7]+
00002BF4 205F movea.l A0, [A7]+
00002BF6 6606 bne +0x8 /* 00002BFE */
00002BF8 7009 moveq.l D0, 0x09
00002BFA A260 syscall FSDispatch/HFSDispatch, flags=2
00002BFC 6004 bra +0x6 /* 00002C02 */
label00002BFE:
00002BFE 7009 moveq.l D0, 0x09
00002C00 A660 syscall FSDispatch/HFSDispatch, flags=6
label00002C02:
00002C02 3E80 move.w [A7], D0
00002C04 4ED1 jmp [A1]
fn00002C06:
00002C06 225F movea.l A1, [A7]+
00002C08 101F move.b D0, [A7]+
00002C0A 205F movea.l A0, [A7]+
00002C0C 6604 bne +0x6 /* 00002C12 */
00002C0E A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00002C10 6002 bra +0x4 /* 00002C14 */
label00002C12:
00002C12 A607 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=6
label00002C14:
00002C14 3E80 move.w [A7], D0
00002C16 4ED1 jmp [A1]
fn00002C18:
00002C18 226F 0004 movea.l A1, [A7 + 0x4]
00002C1C 4251 clr.w [A1]
00002C1E 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
00002C22 A025 syscall GetHandleSize
00002C24 4A80 tst.l D0
00002C26 6F0E ble +0x10 /* 00002C36 */
00002C28 2050 movea.l A0, [A0]
00002C2A 226F 0008 movea.l A1, [A7 + 0x8]
00002C2E 3298 move.w [A1], [A0]+
00002C30 226F 0004 movea.l A1, [A7 + 0x4]
00002C34 3290 move.w [A1], [A0]
label00002C36:
00002C36 205F movea.l A0, [A7]+
00002C38 504F addq.w A7, 8
00002C3A 4ED0 jmp [A0]
fn00002C3C:
00002C3C 48E7 0030 movem.l -[A7], A2,A3
00002C40 226F 000C movea.l A1, [A7 + 0xC]
00002C44 42A9 0002 clr.l [A1 + 0x2]
00002C48 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
00002C4C A025 syscall GetHandleSize
00002C4E 4A80 tst.l D0
00002C50 6F26 ble +0x28 /* 00002C78 */
00002C52 2450 movea.l A2, [A0]
00002C54 544A addq.w A2, 2
00002C56 322F 0010 move.w D1, [A7 + 0x10]
00002C5A B25A cmp.w D1, [A2]+
00002C5C 6E1A bgt +0x1C /* 00002C78 */
00002C5E 5341 subq.w D1, 1
label00002C60:
00002C60 6D16 blt +0x18 /* 00002C78 */
00002C62 204A movea.l A0, A2
00002C64 7002 moveq.l D0, 0x02
00002C66 D028 0008 add.b D0, [A0 + 0x8]
00002C6A 0240 FFFE andi.w D0, 0xFFFE
00002C6E 5040 addq.w D0, 8
00002C70 D4C0 add.w A2, D0
00002C72 A02E syscall BlockMove/BlockMoveData
00002C74 5341 subq.w D1, 1
00002C76 60E8 bra -0x16 /* 00002C60 */
label00002C78:
00002C78 4CDF 0C00 movem.l A2,A3, [A7]+
00002C7C 205F movea.l A0, [A7]+
00002C7E 5C4F addq.w A7, 6
00002C80 4ED0 jmp [A0]
fn00002C82:
00002C82 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
00002C86 A025 syscall GetHandleSize
00002C88 4A80 tst.l D0
00002C8A 6F28 ble +0x2A /* 00002CB4 */
00002C8C 2050 movea.l A0, [A0]
00002C8E 5448 addq.w A0, 2
00002C90 322F 0004 move.w D1, [A7 + 0x4]
00002C94 B258 cmp.w D1, [A0]+
00002C96 6E1C bgt +0x1E /* 00002CB4 */
00002C98 5341 subq.w D1, 1
label00002C9A:
00002C9A 6D18 blt +0x1A /* 00002CB4 */
00002C9C 6712 beq +0x14 /* 00002CB0 */
00002C9E 7002 moveq.l D0, 0x02
00002CA0 D028 0008 add.b D0, [A0 + 0x8]
00002CA4 0240 FFFE andi.w D0, 0xFFFE
00002CA8 5040 addq.w D0, 8
00002CAA D0C0 add.w A0, D0
00002CAC 5341 subq.w D1, 1
00002CAE 60EA bra -0x14 /* 00002C9A */
label00002CB0:
00002CB0 42A8 0002 clr.l [A0 + 0x2]
label00002CB4:
00002CB4 205F movea.l A0, [A7]+
00002CB6 544F addq.w A7, 2
00002CB8 4ED0 jmp [A0]
fn00002CBA:
00002CBA 206F 0004 movea.l A0, [A7 + 0x4]
00002CBE 2050 movea.l A0, [A0]
00002CC0 A9E1 syscall HandToHand
00002CC2 226F 0004 movea.l A1, [A7 + 0x4]
00002CC6 2288 move.l [A1], A0
00002CC8 3F40 0008 move.w [A7 + 0x8], D0
00002CCC 2E9F move.l [A7], [A7]+
00002CCE 4E75 rts
fn00002CD0:
00002CD0 4E56 0000 link A6, 0
00002CD4 594F subq.w A7, 4
00002CD6 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
00002CDC 3F2E 000A move.w -[A7], [A6 + 0xA]
00002CE0 A9A0 syscall GetResource
00002CE2 226E 000C movea.l A1, [A6 + 0xC]
00002CE6 4211 clr.b [A1]
00002CE8 201F move.l D0, [A7]+
00002CEA 6722 beq +0x24 /* 00002D0E */
00002CEC 2040 movea.l A0, D0
00002CEE 2050 movea.l A0, [A0]
00002CF0 3018 move.w D0, [A0]+
00002CF2 322E 0008 move.w D1, [A6 + 0x8]
00002CF6 6716 beq +0x18 /* 00002D0E */
00002CF8 B240 cmp.w D1, D0
00002CFA 6212 bhi +0x14 /* 00002D0E */
00002CFC 7000 moveq.l D0, 0x00
label00002CFE:
00002CFE 5341 subq.w D1, 1
00002D00 6706 beq +0x8 /* 00002D08 */
00002D02 1018 move.b D0, [A0]+
00002D04 D1C0 add.l A0, D0
00002D06 60F6 bra -0x8 /* 00002CFE */
label00002D08:
00002D08 1010 move.b D0, [A0]
00002D0A 5240 addq.w D0, 1
00002D0C A02E syscall BlockMove/BlockMoveData
label00002D0E:
00002D0E 4E5E unlink A6
00002D10 205F movea.l A0, [A7]+
00002D12 508F addq.l A7, 8
00002D14 4ED0 jmp [A0]
export_12:
00002D16 4E56 0000 link A6, 0
00002D1A 203C 0000 A89F move.l D0, 0xA89F
00002D20 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00002D22 2F08 move.l -[A7], A0
00002D24 203C 0000 A0AD move.l D0, 0xA0AD
00002D2A A346 syscall GetOSTrapAddress, flags=3
00002D2C B1DF cmpa.l A0, [A7]+
00002D2E 670E beq +0x10 /* 00002D3E */
00002D30 202E 000C move.l D0, [A6 + 0xC]
00002D34 A1AD syscall Gestalt, flags=1
00002D36 226E 0008 movea.l A1, [A6 + 0x8]
00002D3A 2288 move.l [A1], A0
00002D3C 6026 bra +0x28 /* 00002D64 */
label00002D3E:
00002D3E 41FA 0036 lea.l A0, [PC + 0x36 /* 00002D76, value 0x76657273 'vers', cstring "vers" */]
00002D42 303C EA51 move.w D0, 0xEA51
00002D46 222E 000C move.l D1, [A6 + 0xC]
label00002D4A:
00002D4A B298 cmp.l D1, [A0]+
00002D4C 6706 beq +0x8 /* 00002D54 */
00002D4E 4A98 tst.l [A0]+
00002D50 6712 beq +0x14 /* 00002D64 */
00002D52 60F6 bra -0x8 /* 00002D4A */
label00002D54:
00002D54 43FA 0020 lea.l A1, [PC + 0x20 /* 00002D76, value 0x76657273 'vers', cstring "vers" */]
00002D58 D3D0 add.l A1, [A0]
00002D5A 4ED1 jmp [A1]
label00002D5C:
00002D5C 226E 0008 movea.l A1, [A6 + 0x8]
00002D60 2280 move.l [A1], D0
00002D62 4240 clr.w D0
label00002D64:
00002D64 3D40 0010 move.w [A6 + 0x10], D0
00002D68 4E5E unlink A6
00002D6A 205F movea.l A0, [A7]+
00002D6C 508F addq.l A7, 8
00002D6E 4ED0 jmp [A0]
label00002D70:
00002D70 303C EA52 move.w D0, 0xEA52
00002D74 60EE bra -0x10 /* 00002D64 */
00002D76 7665 moveq.l D3, 0x65
00002D78 7273 moveq.l D1, 0x73
00002D7A 0000 0060 ori.b D0, 0x60 /* '`' */
00002D7E 6D61 blt +0x63 /* 00002DE1 */
00002D80 6368 bls +0x6A /* 00002DEA */
00002D82 0000 0064 ori.b D0, 0x64 /* 'd' */
00002D86 7379 moveq.l D1, 0x79
00002D88 7376 moveq.l D1, 0x76
00002D8A 0000 0088 ori.b D0, 0x88
00002D8E 7072 moveq.l D0, 0x72
00002D90 6F63 ble +0x65 /* 00002DF5 */
00002D92 0000 0092 ori.b D0, 0x92
00002D96 6670 bne +0x72 /* 00002E08 */
00002D98 7520 moveq.l D2, 0x20
00002D9A 0000 009E ori.b D0, 0x9E
00002D9E 7164 moveq.l D0, 0x64
00002DA0 2020 move.l D0, -[A0]
00002DA2 0000 00E8 ori.b D0, 0xE8
00002DA6 6B62 bmi +0x64 /* 00002E0A */
00002DA8 6420 bcc +0x22 /* 00002DCA */
00002DAA 0000 011A ori.b D0, 0x1A
00002DAE 6174 bsr +0x76 /* 00002E24 */
00002DB0 6C6B bge +0x6D /* 00002E1D */
00002DB2 0000 0142 ori.b D0, 0x42 /* 'B' */
00002DB6 6D6D blt +0x6F /* 00002E25 */
00002DB8 7520 moveq.l D2, 0x20
00002DBA 0000 0164 ori.b D0, 0x64 /* 'd' */
00002DBE 7261 moveq.l D1, 0x61
00002DC0 6D20 blt +0x22 /* 00002DE2 */
00002DC2 0000 0188 ori.b D0, 0x88
00002DC6 6C72 bge +0x74 /* 00002E3A */
00002DC8 616D bsr +0x6F /* 00002E37 */
label00002DCA:
00002DCA 0000 0188 ori.b D0, 0x88
00002DCE 0000 0000 ori.b D0, 0x0
00002DD2 0000 0000 ori.b D0, 0x0
00002DD6 7001 moveq.l D0, 0x01
00002DD8 6082 bra -0x7C /* 00002D5C */
00002DDA 2278 02AE movea.l A1, [0x000002AE /* ROMBase */]
00002DDE 7004 moveq.l D0, 0x04
00002DE0 0C69 0075 0008 cmpi.w [A1 + 0x8], 0x75 /* 'u' */
// begin alternate branch 00002DE2-00002DEA
label00002DE2:
00002DE2 0075 0008 6712 0C69 ori.w [[A5 + D6 * 8] + 0xC69], 0x8
// end alternate branch 00002DE2-00002DEA
label00002DE2: // (misaligned)
00002DE6 6712 beq +0x14 /* 00002DFA */
00002DE8 0C69 0276 0008 cmpi.w [A1 + 0x8], 0x276
// begin alternate branch 00002DEA-00002DF0
label00002DEA:
00002DEA 0276 0008 6604 andi.w [A6 + D6.w * 8 + 0x4], 0x8
// end alternate branch 00002DEA-00002DF0
label00002DEA: // (misaligned)
00002DEE 6604 bne +0x6 /* 00002DF4 */
00002DF0 5240 addq.w D0, 1
00002DF2 6006 bra +0x8 /* 00002DFA */
label00002DF4:
00002DF4 1038 0CB3 move.b D0, [0x00000CB3 /* MMUFluff/MachineType */]
00002DF8 5C80 addq.l D0, 6
label00002DFA:
00002DFA 6000 FF60 bra -0x9E /* 00002D5C */
00002DFE 7000 moveq.l D0, 0x00
00002E00 3038 015A move.w D0, [0x0000015A /* SysVersion */]
00002E04 6000 FF56 bra -0xA8 /* 00002D5C */
label00002E08:
00002E08 7000 moveq.l D0, 0x00
label00002E0A:
00002E0A 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
00002E0E 5240 addq.w D0, 1
00002E10 6000 FF4A bra -0xB4 /* 00002D5C */
00002E14 0C38 0004 012F cmpi.b [0x0000012F /* CPUFlag */], 0x4
00002E1A 6738 beq +0x3A /* 00002E54 */
00002E1C 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
00002E22 6734 beq +0x36 /* 00002E58 */
fn00002E24:
00002E24 204F movea.l A0, A7
00002E26 F280 0000 fnop
00002E2A F327 .extension 0x327 <<F/4-5/1>> // unimplemented
00002E2C 3017 move.w D0, [A7]
00002E2E 2E48 movea.l A7, A0
00002E30 0C40 1F18 cmpi.w D0, 0x1F18
00002E34 6716 beq +0x18 /* 00002E4C */
00002E36 0C40 3F18 cmpi.w D0, 0x3F18
label00002E3A:
00002E3A 6710 beq +0x12 /* 00002E4C */
00002E3C 0C40 3F38 cmpi.w D0, 0x3F38 /* '?8' */
00002E40 670E beq +0x10 /* 00002E50 */
00002E42 0C40 1F38 cmpi.w D0, 0x1F38
00002E46 6708 beq +0xA /* 00002E50 */
00002E48 7000 moveq.l D0, 0x00
00002E4A 600E bra +0x10 /* 00002E5A */
label00002E4C:
00002E4C 7001 moveq.l D0, 0x01
00002E4E 600A bra +0xC /* 00002E5A */
label00002E50:
00002E50 7002 moveq.l D0, 0x02
00002E52 6006 bra +0x8 /* 00002E5A */
label00002E54:
00002E54 7003 moveq.l D0, 0x03
00002E56 6002 bra +0x4 /* 00002E5A */
label00002E58:
00002E58 7000 moveq.l D0, 0x00
label00002E5A:
00002E5A 6000 FF00 bra -0xFE /* 00002D5C */
00002E5E 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
00002E64 6E1C bgt +0x1E /* 00002E82 */
00002E66 303C A89F move.w D0, 0xA89F
00002E6A A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00002E6C 2408 move.l D2, A0
00002E6E 203C 0000 AB03 move.l D0, 0xAB03
00002E74 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00002E76 203C 0000 0100 move.l D0, 0x100
00002E7C B488 cmp.l D2, A0
00002E7E 6606 bne +0x8 /* 00002E86 */
00002E80 600A bra +0xC /* 00002E8C */
label00002E82:
00002E82 7000 moveq.l D0, 0x00
00002E84 6006 bra +0x8 /* 00002E8C */
label00002E86:
00002E86 203C 0000 0200 move.l D0, 0x200
label00002E8C:
00002E8C 6000 FECE bra -0x130 /* 00002D5C */
00002E90 1038 021E move.b D0, [0x0000021E /* KbdType */]
00002E94 41FA 0016 lea.l A0, [PC + 0x16 /* 00002EAC, value 0x3130B02 */]
00002E98 2248 movea.l A1, A0
label00002E9A:
00002E9A 1218 move.b D1, [A0]+
00002E9C 6700 FED2 beq -0x12C /* 00002D70 */
00002EA0 B200 cmp.b D1, D0
00002EA2 66F6 bne -0x8 /* 00002E9A */
00002EA4 91C9 sub.l A0, A1
00002EA6 2008 move.l D0, A0
00002EA8 6000 FEB2 bra -0x14C /* 00002D5C */
00002EAC 0313 btst [A3], D1
00002EAE 0B02 btst D2, D5
00002EB0 0106 btst D6, D0
00002EB2 0704 btst D4, D3
00002EB4 0508 btst A0, D2
00002EB6 0900 btst D0, D4
00002EB8 7000 moveq.l D0, 0x00
00002EBA 4A38 0291 tst.b [0x00000291 /* PortBUse */]
00002EBE 6B16 bmi +0x18 /* 00002ED6 */
00002EC0 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
00002EC4 0201 000F andi.b D1, 0xF
00002EC8 0C01 0001 cmpi.b D1, 0x1
00002ECC 6608 bne +0xA /* 00002ED6 */
00002ECE 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
00002ED2 1028 0007 move.b D0, [A0 + 0x7]
label00002ED6:
00002ED6 6000 FE84 bra -0x17A /* 00002D5C */
00002EDA 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
00002EE0 6D16 blt +0x18 /* 00002EF8 */
00002EE2 7000 moveq.l D0, 0x00
00002EE4 1038 0CB1 move.b D0, [0x00000CB1 /* MMUType */]
00002EE8 0C00 0001 cmpi.b D0, 0x1
00002EEC 670C beq +0xE /* 00002EFA */
00002EEE 0C00 0003 cmpi.b D0, 0x3
00002EF2 6D04 blt +0x6 /* 00002EF8 */
00002EF4 5340 subq.w D0, 1
00002EF6 6002 bra +0x4 /* 00002EFA */
label00002EF8:
00002EF8 7000 moveq.l D0, 0x00
label00002EFA:
00002EFA 6000 FE60 bra -0x19E /* 00002D5C */
00002EFE 303C A89F move.w D0, 0xA89F
00002F02 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00002F04 2408 move.l D2, A0
00002F06 203C 0000 A88F move.l D0, 0xA88F
00002F0C A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00002F0E 2038 0108 move.l D0, [0x00000108 /* MemTop */]
00002F12 B488 cmp.l D2, A0
00002F14 670A beq +0xC /* 00002F20 */
00002F16 598F subq.l A7, 4
00002F18 3F3C 0016 move.w -[A7], 0x16
00002F1C A88F syscall OSDispatch
00002F1E 201F move.l D0, [A7]+
label00002F20:
00002F20 6000 FE3A bra -0x1C4 /* 00002D5C */
fn00002F24:
00002F24 206F 0004 movea.l A0, [A7 + 0x4]
00002F28 202F 0008 move.l D0, [A7 + 0x8]
00002F2C 4267 clr.w -[A7]
00002F2E A9EE syscall Pack7/DecStr68K
00002F30 205F movea.l A0, [A7]+
00002F32 504F addq.w A7, 8
00002F34 4ED0 jmp [A0]
fn00002F36:
00002F36 225F movea.l A1, [A7]+
00002F38 201F move.l D0, [A7]+
00002F3A 0838 0006 028E btst.b [0x0000028E /* ROM85 */], 0x6
00002F40 6606 bne +0x8 /* 00002F48 */
00002F42 A055 syscall StripAddress
00002F44 2E80 move.l [A7], D0
00002F46 4ED1 jmp [A1]
label00002F48:
00002F48 C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
00002F4C 2E80 move.l [A7], D0
00002F4E 4ED1 jmp [A1]
fn00002F50:
00002F50 202F 0004 move.l D0, [A7 + 0x4]
00002F54 2F40 0008 move.l [A7 + 0x8], D0
00002F58 6726 beq +0x28 /* 00002F80 */
00002F5A 2040 movea.l A0, D0
00002F5C 2248 movea.l A1, A0
00002F5E 1019 move.b D0, [A1]+
00002F60 671E beq +0x20 /* 00002F80 */
label00002F62:
00002F62 1211 move.b D1, [A1]
00002F64 12C0 move.b [A1]+, D0
00002F66 1001 move.b D0, D1
00002F68 66F8 bne -0x6 /* 00002F62 */
00002F6A 93C8 sub.l A1, A0
00002F6C 2009 move.l D0, A1
00002F6E 5340 subq.w D0, 1
00002F70 0C80 0000 00FF cmpi.l D0, 0xFF
00002F76 6F06 ble +0x8 /* 00002F7E */
00002F78 203C 0000 00FF move.l D0, 0xFF
label00002F7E:
00002F7E 1080 move.b [A0], D0
label00002F80:
00002F80 225F movea.l A1, [A7]+
00002F82 584F addq.w A7, 4
00002F84 4ED1 jmp [A1]
fn00002F86:
00002F86 225F movea.l A1, [A7]+
00002F88 201F move.l D0, [A7]+
00002F8A 2E80 move.l [A7], D0
00002F8C 6712 beq +0x14 /* 00002FA0 */
00002F8E 2040 movea.l A0, D0
00002F90 7000 moveq.l D0, 0x00
00002F92 1010 move.b D0, [A0]
00002F94 6004 bra +0x6 /* 00002F9A */
label00002F96:
00002F96 10E8 0001 move.b [A0]+, [A0 + 0x1]
label00002F9A:
00002F9A 51C8 FFFA dbf D0, -0x8 /* 00002F96 */
00002F9E 4210 clr.b [A0]
label00002FA0:
00002FA0 4ED1 jmp [A1]
00002FA2 0000 03A6 ori.b D0, 0xA6
00002FA6 0001 0000 ori.b D1, 0x0
00002FAA 0000 0014 ori.b D0, 0x14
00002FAE 0000 0095 ori.b D0, 0x95
00002FB2 0000 0000 ori.b D0, 0x0
00002FB6 0003 8132 ori.b D3, 0x32 /* '2' */
00002FBA 0100 btst D0, D0
00002FBC 0100 btst D0, D0
00002FBE 0105 btst D5, D0
00002FC0 0101 btst D1, D0
00002FC2 0B01 btst D1, D5
00002FC4 3A11 move.w D5, [A1]
00002FC6 013A 0053 btst [PC + 0x53 /* 0000301B, value 0x74 't' */], D0
00002FCA 80DC divu.w D0, [A4]+
00002FCC 2825 move.l D4, -[A5]
00002FCE 5F53 subq.w [A3], 7
00002FD0 7461 moveq.l D2, 0x61
00002FD2 7469 moveq.l D2, 0x69
00002FD4 635F bls +0x61 /* 00003035 */
00002FD6 436F 6E73 chk.w D1, [A7 + 0x6E73]
00002FDA 7472 moveq.l D2, 0x72
00002FDC 7563 moveq.l D2, 0x63
00002FDE 746F moveq.l D2, 0x6F
00002FE0 725F moveq.l D1, 0x5F
00002FE2 4465 neg.w -[A5]
00002FE4 7374 moveq.l D1, 0x74
00002FE6 7275 moveq.l D1, 0x75
00002FE8 6374 bls +0x76 /* 0000305E */
00002FEA 6F72 ble +0x74 /* 0000305E */
00002FEC 5F50 subq.w [A0], 7
00002FEE 6F69 ble +0x6B /* 00003059 */
00002FF0 6E74 bgt +0x76 /* 00003066 */
00002FF2 6572 bcs +0x74 /* 00003066 */
00002FF4 7300 moveq.l D1, 0x00
00002FF6 2825 move.l D4, -[A5]
00002FF8 5F53 subq.w [A3], 7
00002FFA 7461 moveq.l D2, 0x61
00002FFC 7469 moveq.l D2, 0x69
00002FFE 635F bls +0x61 /* 0000305F */
00003000 436F 6E73 chk.w D1, [A7 + 0x6E73]
00003004 7472 moveq.l D2, 0x72
00003006 7563 moveq.l D2, 0x63
00003008 746F moveq.l D2, 0x6F
0000300A 725F moveq.l D1, 0x5F
0000300C 4465 neg.w -[A5]
0000300E 7374 moveq.l D1, 0x74
00003010 7275 moveq.l D1, 0x75
00003012 6374 bls +0x76 /* 00003088 */
00003014 6F72 ble +0x74 /* 00003088 */
00003016 5F50 subq.w [A0], 7
00003018 6F69 ble +0x6B /* 00003083 */
0000301A 6E74 bgt +0x76 /* 00003090 */
0000301C 6572 bcs +0x74 /* 00003090 */
0000301E 7340 moveq.l D1, 0x40
00003020 0301 btst D1, D1
00003022 5348 subq.w A0, 1
00003024 2009 move.l D0, A1
00003026 FFFF .invalid <<F/7/7>>
00003028 FF12 .extension 0xF12 <<F/4-5/7>> // unimplemented
0000302A FFFF .invalid <<F/7/7>>
0000302C FF1A .extension 0xF1A <<F/4-5/7>> // unimplemented
0000302E 8102 sbcd D0, D2
00003030 07FF .incomplete
00003032 FFFF .invalid <<F/7/7>>
00003034 1E10 move.b D7, [A0]
00003036 0081 4502 0600 ori.l D1, 0x45020600
0000303C 0000 0000 ori.b D0, 0x0
00003040 2FA6 6D70 .incomplete
00003044 7764 moveq.l D3, 0x64